Skip to content

Commit

Permalink
Remove redundant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Jan 11, 2024
1 parent a11361b commit db71802
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,6 @@ public void test_item_name_truncation_default_values() {
assertEquals("...", listenerParameters.getTruncateReplacement());
}

@Test
public void test_item_name_truncation_property_file_bypass() {
PropertiesLoader properties = PropertiesLoader.load("property-test/reportportal-item-names-truncation.properties");
ListenerParameters listenerParameters = new ListenerParameters(properties);

assertFalse(listenerParameters.isTruncateFields());
assertEquals(512, listenerParameters.getTruncateItemNamesLimit());
assertEquals("\\", listenerParameters.getTruncateReplacement());
}

@Test
public void test_generic_truncation_property_file_bypass() {
PropertiesLoader properties = PropertiesLoader.load("property-test/generic-truncation-properties.properties");
Expand All @@ -154,14 +144,6 @@ public void verify_lock_wait_timeout_property_set_if_it_not_present_in_property_
assertEquals(ListenerParameters.DEFAULT_FILE_WAIT_TIMEOUT_MS, listenerParameters.getLockWaitTimeout());
}

@Test
public void verify_lock_wait_timeout_property_set_by_file_wait_property() {
PropertiesLoader properties = PropertiesLoader.load("property-test/lock-wait-file.properties");
ListenerParameters listenerParameters = new ListenerParameters(properties);

assertEquals(15223, listenerParameters.getLockWaitTimeout());
}

@Test
public void verify_lock_wait_timeout_property_set_by_client_join_lock_wait_property() {
PropertiesLoader properties = PropertiesLoader.load("property-test/lock-wait-client_lock.properties");
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/property-test/lock-wait-file.properties

This file was deleted.

This file was deleted.

0 comments on commit db71802

Please sign in to comment.