@Test public void testEquals() { Muxer another = Muxer.of(mkv, srt, tempDir); boolean result = muxer.equals(another); assertThat(result).isFalse(); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Muxer other = (Muxer) obj; return Objects.equals(mkv, other.mkv) && Objects.equals(output, other.output) && Objects.equals(srt, other.srt) && Objects.equals(tempDir, other.tempDir); }
Muxer { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Muxer other = (Muxer) obj; return Objects.equals(mkv, other.mkv) && Objects.equals(output, other.output) && Objects.equals(srt, other.srt) && Objects.equals(tempDir, other.tempDir); } }
Muxer { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Muxer other = (Muxer) obj; return Objects.equals(mkv, other.mkv) && Objects.equals(output, other.output) && Objects.equals(srt, other.srt) && Objects.equals(tempDir, other.tempDir); } private  Muxer(Path mkv, Path srt, Path tempDir, ProcessBuilderFactory factory, Sleeper sleeper); }
Muxer { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Muxer other = (Muxer) obj; return Objects.equals(mkv, other.mkv) && Objects.equals(output, other.output) && Objects.equals(srt, other.srt) && Objects.equals(tempDir, other.tempDir); } private  Muxer(Path mkv, Path srt, Path tempDir, ProcessBuilderFactory factory, Sleeper sleeper); static Muxer of(Path mkv, Path srt, Path tempDir); void start(); State state(); int waitFor(); boolean waitFor(long timeout, TimeUnit unit); Optional<Path> getOutput(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); Path getMkv(); boolean waitForOutput(); }
Muxer { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Muxer other = (Muxer) obj; return Objects.equals(mkv, other.mkv) && Objects.equals(output, other.output) && Objects.equals(srt, other.srt) && Objects.equals(tempDir, other.tempDir); } private  Muxer(Path mkv, Path srt, Path tempDir, ProcessBuilderFactory factory, Sleeper sleeper); static Muxer of(Path mkv, Path srt, Path tempDir); void start(); State state(); int waitFor(); boolean waitFor(long timeout, TimeUnit unit); Optional<Path> getOutput(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); Path getMkv(); boolean waitForOutput();  }