APISonar


com.spotify.docker.client.messages.Version.os

> com > spotify > docker > client > messages > Version > os
com APIs spotify APIs docker APIs client APIs messages APIs Version APIs os APIs

Example 1
public void testVersion() throws Exception {
    final Version version = sut.version();
    assertThat(version.apiVersion(), not(isEmptyOrNullString()));
    assertThat(version.arch(), not(isEmptyOrNullString()));
    assertThat(version.gitCommit(), not(isEmptyOrNullString()));
    assertThat(version.goVersion(), not(isEmptyOrNullString()));
    assertThat(version.kernelVersion(), not(isEmptyOrNullString()));
    assertThat(version.os(), not(isEmptyOrNullString()));
    assertThat(version.version(), not(isEmptyOrNullString()));
    if (dockerApiVersionAtLeast("1.22")) {
      assertThat(version.buildTime(), not(isEmptyOrNullString()));
    }
  }