| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2010-2014 ForgeRock AS. |
| | | * Portions Copyright 2010-2015 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.schema; |
| | | |
| | |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @BeforeClass() |
| | | @BeforeClass |
| | | public void startServer() |
| | | throws Exception |
| | | { |
| | |
| | | /** |
| | | * Test to search using the less-than relative time matching rule for expired events. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testRTLessThanExpiredEvents() throws Exception |
| | | { |
| | | try |
| | |
| | | /** |
| | | * Test to search using the less-than relative time matching rule for future events. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testRTLessThanFutureEvents() throws Exception |
| | | { |
| | | try |
| | |
| | | /** |
| | | * Test to search using the greater-than relative time matching rule for expired events. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testRTGreaterThanExpiredEvents() throws Exception |
| | | { |
| | | try |
| | |
| | | /** |
| | | * Test to search using the greater-than relative time matching rule for future events. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testRTGreaterThanFutureEvents() throws Exception |
| | | { |
| | | try |
| | |
| | | * Dates for this test are hardcoded to avoid test failures depending |
| | | * on when the tests are launched. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testPartialDateNTimeMatchingRuleUsingSearch() throws Exception |
| | | { |
| | | try |