test_class.file: collect_app/src/test/java/org/odk/collect/android/logic/AuditConfigTest.java
test_class.identifier: AuditConfigTest
test_case.body: @Test
      public void logLocationCoordinatesOnlyIfAllParametersAreSet() {
          AuditConfig auditConfig = new AuditConfig("high-accuracy", "10", "60", false);
          assertTrue(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig(null, "10", "60", false);
          assertFalse(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig(null, null, "60", false);
          assertFalse(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig(null, null, null, false);
          assertFalse(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig("balanced", null, null, false);
          assertFalse(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig("balanced", "10", null, false);
          assertFalse(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig("balanced", null, "60", false);
          assertFalse(auditConfig.isLocationEnabled());
          auditConfig = new AuditConfig(null, null, "60", false);
          assertFalse(auditConfig.isLocationEnabled());
      }
test_case.class_method_signature: AuditConfigTest.logLocationCoordinatesOnlyIfAllParametersAreSet()
test_case.full_signature: @Test public void logLocationCoordinatesOnlyIfAllParametersAreSet()
test_case.identifier: logLocationCoordinatesOnlyIfAllParametersAreSet
test_case.invocations: assertTrue isLocationEnabled assertFalse isLocationEnabled assertFalse isLocationEnabled assertFalse isLocationEnabled assertFalse isLocationEnabled assertFalse isLocationEnabled assertFalse isLocationEnabled assertFalse isLocationEnabled
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void logLocationCoordinatesOnlyIfAllParametersAreSet()
focal_class.declarator: MIN_ALLOWED_LOCATION_MIN_INTERVAL = 1000
focal_class.modifier: private static final
focal_class.original_string: private static final long MIN_ALLOWED_LOCATION_MIN_INTERVAL = 1000;
focal_class.type: long
focal_class.var_name: MIN_ALLOWED_LOCATION_MIN_INTERVAL
focal_class.declarator: locationPriority
focal_class.modifier: private final
focal_class.original_string: private final LocationClient.Priority locationPriority;
focal_class.type: LocationClient.Priority
focal_class.var_name: locationPriority
focal_class.declarator: locationMinInterval
focal_class.modifier: private final
focal_class.original_string: private final Long locationMinInterval;
focal_class.type: Long
focal_class.var_name: locationMinInterval
focal_class.declarator: locationMaxAge
focal_class.modifier: private final
focal_class.original_string: private final Long locationMaxAge;
focal_class.type: Long
focal_class.var_name: locationMaxAge
focal_class.declarator: isTrackingChangesEnabled
focal_class.modifier: private final
focal_class.original_string: private final boolean isTrackingChangesEnabled;
focal_class.type: boolean
focal_class.var_name: isTrackingChangesEnabled
focal_class.file: collect_app/src/main/java/org/odk/collect/android/logic/AuditConfig.java
focal_class.identifier: AuditConfig
focal_class.class_method_signature: AuditConfig.AuditConfig(String mode, String locationMinInterval, String locationMaxAge, boolean isTrackingChangesEnabled)
focal_class.full_signature: public  AuditConfig(String mode, String locationMinInterval, String locationMaxAge, boolean isTrackingChangesEnabled)
focal_class.identifier: AuditConfig
focal_class.modifiers: public
focal_class.parameters: (String mode, String locationMinInterval, String locationMaxAge, boolean isTrackingChangesEnabled)
focal_class.signature:  AuditConfig(String mode, String locationMinInterval, String locationMaxAge, boolean isTrackingChangesEnabled)
focal_class.class_method_signature: AuditConfig.getMode(@NonNull String mode)
focal_class.full_signature: private LocationClient.Priority getMode(@NonNull String mode)
focal_class.identifier: getMode
focal_class.modifiers: private
focal_class.parameters: (@NonNull String mode)
focal_class.return: LocationClient.Priority
focal_class.signature: LocationClient.Priority getMode(@NonNull String mode)
focal_class.class_method_signature: AuditConfig.getLocationPriority()
focal_class.full_signature: @Nullable public LocationClient.Priority getLocationPriority()
focal_class.identifier: getLocationPriority
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: LocationClient.Priority
focal_class.signature: LocationClient.Priority getLocationPriority()
focal_class.class_method_signature: AuditConfig.getLocationMinInterval()
focal_class.full_signature: @Nullable public Long getLocationMinInterval()
focal_class.identifier: getLocationMinInterval
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getLocationMinInterval()
focal_class.class_method_signature: AuditConfig.getLocationMaxAge()
focal_class.full_signature: @Nullable public Long getLocationMaxAge()
focal_class.identifier: getLocationMaxAge
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getLocationMaxAge()
focal_class.class_method_signature: AuditConfig.isLocationEnabled()
focal_class.full_signature: public boolean isLocationEnabled()
focal_class.identifier: isLocationEnabled
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLocationEnabled()
focal_class.class_method_signature: AuditConfig.isTrackingChangesEnabled()
focal_class.full_signature: public boolean isTrackingChangesEnabled()
focal_class.identifier: isTrackingChangesEnabled
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTrackingChangesEnabled()
focal_method.body: public boolean isLocationEnabled() {
          return locationPriority != null && locationMinInterval != null && locationMaxAge != null;
      }
focal_method.class_method_signature: AuditConfig.isLocationEnabled()
focal_method.full_signature: public boolean isLocationEnabled()
focal_method.identifier: isLocationEnabled
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isLocationEnabled()