Skip to content

Commit

Permalink
Merge pull request #49 from thomasgrassauer/master
Browse files Browse the repository at this point in the history
fixed inital capture state, increased version
  • Loading branch information
thomasgrassauer authored Jan 29, 2018
2 parents 0099424 + 3b7fb87 commit f4b3459
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.dynatrace.openkit'
version '1.0.0'
version '1.0.1'

apply plugin: 'java'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private OpenKitConstants() {
public static final String WEBREQUEST_TAG_HEADER = "X-dynaTrace";

// default values used in configuration
public static final String DEFAULT_APPLICATION_VERSION = "1.0.0";
public static final String DEFAULT_APPLICATION_VERSION = "1.0.1";
public static final String DEFAULT_OPERATING_SYSTEM = "OpenKit " + DEFAULT_APPLICATION_VERSION;
public static final String DEFAULT_MANUFACTURER = "Dynatrace";
public static final String DEFAULT_MODEL_ID = "OpenKitDevice";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public class Configuration {

private static final boolean DEFAULT_CAPTURE = false; // default: capture off
private static final boolean DEFAULT_CAPTURE = true; // default: capture on
private static final int DEFAULT_SEND_INTERVAL = 2 * 60 * 1000; // default: wait 2m (in ms) to send beacon
private static final int DEFAULT_MAX_BEACON_SIZE = 30 * 1024; // default: max 30KB (in B) to send in one beacon
private static final boolean DEFAULT_CAPTURE_ERRORS = true; // default: capture errors on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
public class ConfigurationTest {

@Test
public void aDefaultConstructedConfigurationDisablesCapturing() {
public void aDefaultConstructedConfigurationEnablesCapturing() {

// given
TestConfiguration target = new TestConfiguration();

// then
assertThat(target.isCapture(), is(false));
assertThat(target.isCapture(), is(true));
}

@Test
Expand Down

0 comments on commit f4b3459

Please sign in to comment.