class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
TestaIterator | import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
public class TestaIterator {
public static void main(String[] args) {
List<String> letras = new LinkedList<>();
letras.add("A");
letras.add("B");
letras.add("C");
// letras.forEach(letra -> {
// System.out.p... | .version 52 0
.class public super TestaIterator
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:30:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:30:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,300 |
WeblogSearch | /*
* Created on Jun 11, 2004
*
* This file is part of Thingamablog. ( http://thingamablog.sf.net )
*
* Copyright (c) 2004, Bob Tantlinger All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Fr... | .version 52 0
.class public super WeblogSearch
.super java/lang/Object
.field private isFindDrafts Z
.field private isFindModifiedEntries Z
.field private startDate Ljava/util/Date;
.field private endDate Ljava/util/Date;
.field private category Ljava/lang/String;
.field private titleContains Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:54:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:54:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,301 |
MissingImplementationException | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | .version 52 0
.class public super MissingImplementationException
.super java/lang/UnsupportedOperationException
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 3 locals 3
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:05:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:05:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,302 |
JdbcUtil | import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** JDBC工具类 Created by ZhangShuzheng on 2017/1/10. */
public class JdbcUtil {
// 定义数据库的链接
private Connection conn;
// 定义sql语句的执行对象
private PreparedStatement pstmt;
// 定义查询返回的结果集合
private R... | .version 52 0
.class public super JdbcUtil
.super java/lang/Object
.field private conn Ljava/sql/Connection;
.field private pstmt Ljava/sql/PreparedStatement;
.field private rs Ljava/sql/ResultSet;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:54:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:54:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,303 |
Spare | public class Spare {} // class Spare
| .version 52 0
.class public super Spare
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:10:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:10:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,304 |
MyDynamicEntity | /*******************************************************************************
* Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | .version 52 0
.class public super MyDynamicEntity
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Integer;
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:31:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:31:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,305 |
OrderStatistics | /** Created by vishalss on 12/16/2015. */
public class OrderStatistics {
// Implements order statistics.
// returns first element in case of illegal case.
// Returns kth smallest element in the array.
public static <T extends Comparable<T>> T orderStatistics(T array[], int k, int start, int end) {
// Sort.... | .version 52 0
.class public super OrderStatistics
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:52:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:52:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,306 |
SubscriptionMessageFilter | import java.io.Serializable;
import java.util.Date;
/**
* This non entity filter defines filter criteria once a new subscriptions is created and already
* existing messages should be returned.
*
* <p>If both values lastXMessages and startDate are defined it will be combined by OR. For example
* if lastXMessages i... | .version 52 0
.class public super SubscriptionMessageFilter
.super java/lang/Object
.implements java/io/Serializable
.field public static final NONE LSubscriptionMessageFilter;
.field private static final serialVersionUID J = 1L
.field private lastXMessages I
.field private startDate Ljava/util/Date;
.method p... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:23:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Duration;
import java.time.Instant;
import java.time.ZoneOffset;
import java.time.temporal.TemporalU... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:23:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,307 |
FileSearchWordIn | import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/** Created by rvkha_000 on 18.06.2017. */
public class FileSearchWordIn {
/** threads. */
private List<Thread> threads = new ArrayList<>();
/** interrupt. */
private Boolean interrupt = true;
/** interruptFin... | .version 52 0
.class public super FileSearchWordIn
.super java/lang/Object
.field private threads Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Thread;>;
.end fieldattributes
.field private interrupt Ljava/lang/Boolean;
.field private static interruptFind Ljava/lang/Boolean;
.field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:54:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:54:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,308 |
App | import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class App {
public static void main(String[] args) {
// is not important here now
}
public long oldWay() {
List<Integer> d = data();
Long res = 0L;
for (int i = 0; i < d.size(); i++) {
res = res + d.get(i);
... | .version 52 0
.class public super App
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:59:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:59:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,309 |
TargetClass | public class TargetClass {
private void private_method() {
System.out.println("Inside TargetClass.private_method.");
}
public void public_method() {
System.out.println("Inside TargetClass.public_method.");
}
public static void main(String[] args) {
TargetClass t = new TargetClass();
t.priva... | .version 52 0
.class public super TargetClass
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:05:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:05:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,310 |
PropertyDescriptor | /*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2008-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... | .version 52 0
.class public super PropertyDescriptor
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final type Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field private final readMethod Ljava/lang/reflect/Method;
.field privat... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:37:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:37:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,311 |
OutOfBoundsException | public class OutOfBoundsException extends Exception {
public OutOfBoundsException() {
super();
}
public OutOfBoundsException(String s) {
super(s);
}
}
| .version 52 0
.class public super OutOfBoundsException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 6
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:03:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:03:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,312 |
HousePainting | import java.util.Scanner;
public class HousePainting {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double x = Double.parseDouble(scanner.nextLine());
double y = Double.parseDouble(scanner.nextLine());
double h = Double.parseDouble(scanner.nextLine());
doub... | .version 52 0
.class public super HousePainting
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:29:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:29:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,313 |
AppInfo | public class AppInfo {
private String module;
private String version;
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = v... | .version 52 0
.class public super AppInfo
.super java/lang/Object
.field private 'module' Ljava/lang/String;
.field private version Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:54:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:54:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,314 |
MADATA | import java.net.URI;
import java.util.List;
public class MADATA {
URI uri;
public List<Integer> durationList;
public MADATA(URI uri, List<Integer> durationList) {
this.uri = uri;
this.durationList = durationList;
}
}
| .version 52 0
.class public super MADATA
.super java/lang/Object
.field uri Ljava/net/URI;
.field public durationList Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : (Ljava/net/URI;Ljava/util/List;)V
.code stack 2 locals 3 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:46:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.URI;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:46:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,315 |
News | /*
* Created at 20:24 on 10/02/2017
*/
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* @author zzhao
*/
public class News implements Comparable<News> {
private final int priority;
private final List<String> headlines;
// to reduce size just keep the sorted indices
... | .version 52 0
.class public super News
.super java/lang/Object
.implements java/lang/Comparable
.field private final priority I
.field private final headlines Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private final sortedHeadlines Ljava/uti... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:43:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:43:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,316 |
DeviceData | /*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | .version 52 0
.class public super DeviceData
.super java/lang/Object
.field public debug Z
.field public tracking Z
.field public errors [Ljava/lang/Error;
.field public objects [Ljava/lang/Object;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/O... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:30:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:30:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,317 |
CommonProxy | public class CommonProxy {
public void initSounds() {}
public void initRenderers() {}
}
| .version 52 0
.class public super CommonProxy
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:47:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:47:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,318 |
Vector2D | public class Vector2D {
private final double x;
private final double y;
private Vector2D(final double x, final double y) {
this.x = x;
this.y = y;
}
public static Vector2D make(final double x, final double y) {
return new Vector2D(x, y);
}
public double x() {
return x;
}
public dou... | .version 52 0
.class public super Vector2D
.super java/lang/Object
.field private final x D
.field private final y D
.method private <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Vecto... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:46:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:46:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,319 |
SettingConstants | /** Created by jpmeijers on 13-2-17. */
public final class SettingConstants {
public static final String PREFERENCES = "ttnMapperPreferences";
public static final String TTN_APPLICATION_ID = "ttnApplicationId";
public static final String TTN_DEVICE_ID = "ttnDeviceId";
public static final String TTN_ACCESS_KEY ... | .version 52 0
.class public final super SettingConstants
.super java/lang/Object
.field public static final PREFERENCES Ljava/lang/String; = 'ttnMapperPreferences'
.field public static final TTN_APPLICATION_ID Ljava/lang/String; = 'ttnApplicationId'
.field public static final TTN_DEVICE_ID Ljava/lang/String; = 'tt... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:37:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:37:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,320 |
NewConversationResponseEvent | public class NewConversationResponseEvent {
private int code;
private String message;
private String username;
private String password;
private Throwable throwable;
// <editor-fold desc="Constructors|Getters|Setters">
public NewConversationResponseEvent() {}
public NewConversationResponseEvent(
... | .version 52 0
.class public super NewConversationResponseEvent
.super java/lang/Object
.field private code I
.field private message Ljava/lang/String;
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.field private throwable Ljava/lang/Throwable;
.method public <init> : ()V... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:12:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:12:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,321 |
UnexpectedError | /*
* Copyright (c) 2014 Haixing Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | .version 52 0
.class public super UnexpectedError
.super java/lang/Error
.field private static final serialVersionUID J = 7624336604265401254L
.field private static final MESSSAGE Ljava/lang/String; = 'An unexpected error occurs.'
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:43:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:43:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,322 |
MultipartProcessor | /*
* Copyright (c) 2010-2011 Stripe (http://stripe.com)
* Copyright (c) 2015 Base, Inc. (http://binc.jp/)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includin... | .version 52 0
.class public super MultipartProcessor
.super java/lang/Object
.field private final boundary Ljava/lang/String;
.field private static final LINE_BREAK Ljava/lang/String; = '\r\n'
.field private outputStream Ljava/io/OutputStream;
.field private writer Ljava/io/PrintWriter;
.field private charset Lj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:22:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.OutputStream;
import java.net.HttpURLConnecti... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:22:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,323 |
Primes | public class Primes {
public static boolean isPrime(int n) {
for (int i = 2; i < n; i++) {
if (n % i == 0) {
return false;
}
}
return true;
}
public static boolean isPrimeWhile(int n) {
int i = 2;
while (i < n && n % i != 0) {
if (n % i == 0) i++;
}
return ... | .version 52 0
.class public super Primes
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:29:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:29:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,324 |
EJBException | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2018 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... | .version 52 0
.class public super EJBException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 796770993296843510L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:35:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:35:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,325 |
Main | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class super Main
.super java/lang/Object
.field a F
.field b F
.field c F
.field d F
.field e F
.field f F
.field g F
.field h F
.field i F
.field j F
.field k F
.field l F
.field m F
.field n F
.field o F
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invok... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:06:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:06:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,326 |
SilentExceptionHandler | /**
* Exception handler that does nothing. Exceptions are silently discarded.
*
* @see
* org.webbitserver.WebServer#connectionExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)
* @see
* org.webbitserver.WebServer#uncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)
*/
public class... | .version 52 0
.class public super SilentExceptionHandler
.super java/lang/Object
.implements java/lang/Thread$UncaughtExceptionHandler
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:21:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThread;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:21:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,327 |
HelloWorld | public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World..");
}
}
| .version 52 0
.class public super HelloWorld
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:45:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:45:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,328 |
CustomAliasExistsException | public class CustomAliasExistsException extends RuntimeException {
/** */
private static final long serialVersionUID = 1696068276907560715L;
public CustomAliasExistsException(String message) {
super(message);
}
public CustomAliasExistsException(String message, Throwable cause) {
super(message, caus... | .version 52 0
.class public super CustomAliasExistsException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1696068276907560715L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Ru... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:51:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:51:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,329 |
Retirement | import java.util.Scanner;
/*
* This program demonstrates a <code>while</code> loop
* @version 1.0 2016-12-10
* @author Jerry-0824
*/
public class Retirement {
public static void main(String[] args) {
// read inputs
Scanner in = new Scanner(System.in);
System.out.println("How much money do you need t... | .version 52 0
.class public super Retirement
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:24:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.InputMismatchException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:24:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,330 |
User | import java.io.Serializable;
public class User implements Serializable {
public static int ROLE_TRUSTED_INTERMEDIARY = 1;
public static int ROLE_ADJUDICATOR = 2;
public static String TABLE_NAME = "USER";
private Long userId;
private String userName;
private String password;
private String newPass;
... | .version 52 0
.class public super User
.super java/lang/Object
.implements java/io/Serializable
.field public static ROLE_TRUSTED_INTERMEDIARY I
.field public static ROLE_ADJUDICATOR I
.field public static TABLE_NAME Ljava/lang/String;
.field private userId Ljava/lang/Long;
.field private userName Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:55:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:55:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,331 |
Logger | /** Created by Brad on 5/18/2016. */
public class Logger {
// TODO Implement a logger based of log4j
}
| .version 52 0
.class public super Logger
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:32:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:32:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,332 |
Reference | public class Reference {
public static final String MOD_ID = "inidiumcraft";
public static final String MOD_NAME = "inidiumcraft";
public static final String VERSION = "1.7.10-0.1";
public static final String CLIENT_PROXY_CLASS = "com.tdude.inidiumcraft.proxy.ClientProxy";
public static final String SERVER_P... | .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'inidiumcraft'
.field public static final MOD_NAME Ljava/lang/String; = 'inidiumcraft'
.field public static final VERSION Ljava/lang/String; = '1.7.10-0.1'
.field public static final CLIENT_P... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:24:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:24:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,333 |
IndexerValidityException | /*
* Copyright 2013 NGDATA nv
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | .version 52 0
.class public super IndexerValidityException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:31:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:31:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,334 |
Main | /*
* Author: Kim Min-Ho (ISKU)
* Date: 2017.03.01
* Email: minho1a@hanmail.net
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/4504
*/
import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner input = new Scanner(System.in);
int n = input.... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:47:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.InputMismatchException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:47:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,335 |
Constants | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/** */
public class Constants {
public static String HELP = "/help";
/** The plain text content type constant: <tt>text/plain</tt>. */
public static final String TEXT = "text/plain";
/** The html content type... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static HELP Ljava/lang/String;
.field public static final TEXT Ljava/lang/String; = 'text/plain'
.field public static final HTML Ljava/lang/String; = 'text/html'
.field public static final XHTML Ljava/lang/String; = 'application/xht... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:42:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:42:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,336 |
ReadFile | import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public class ReadFile {
BufferedReader br;
/**
* Opens file referred to by the filename
*
* @param filename file to be open and read
*/
public ReadFile(String filename) {
t... | .version 52 0
.class public super ReadFile
.super java/lang/Object
.field br Ljava/io/BufferedReader;
.method public <init> : (Ljava/lang/String;)V
.code stack 6 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
.catch java/io/FileNotFoundException from L4 to L23 usi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:46:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:46:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,337 |
MyArray | public class MyArray {
public static byte[] arrayCat(byte[] buf1, byte[] buf2) {
byte[] bufret = null;
int len1 = 0;
int len2 = 0;
if (buf1 != null) len1 = buf1.length;
if (buf2 != null) len2 = buf2.length;
if (len1 + len2 > 0) bufret = new byte[len1 + len2];
if (len1 > 0) System.arraycop... | .version 52 0
.class public super MyArray
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:23:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:23:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,338 |
BadCacheRequestException | public class BadCacheRequestException extends RuntimeException {
public BadCacheRequestException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super BadCacheRequestException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:20:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:20:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,339 |
PhoneMask | /** Created by ina on 02/08/2016. */
public class PhoneMask {
/**
* Plain telephone mask: number stars with 00|+ and have 11 more digits or starts with
* 07|06|+|+2556|+2557 and have 9 more digits
*/
public static final String PLAIN_PHONE_NUMBER_MASK =
"((^(00)\\d{10,15})|(^(\\+)\\d{10,15}$)|(^(06|0... | .version 52 0
.class public super PhoneMask
.super java/lang/Object
.field public static final PLAIN_PHONE_NUMBER_MASK Ljava/lang/String; = '((^(00)\\d{10,15})|(^(\\+)\\d{10,15}$)|(^(06|07|\\+2556|\\+2557)\\d{9}$))'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:28:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:28:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,340 |
Solution | /*
* Write a function that takes a string as input and returns the string reversed.
* Example:
* Given s = "hello", return "olleh".
*/
public class Solution {
public String reverseString(String s) {
StringBuffer sb = new StringBuffer();
for (int i = s.length() - 1; i >= 0; i--) {
sb.append(s.charA... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:50:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:50:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,341 |
ispyConstants | /*L
* Copyright SAIC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/i-spy/LICENSE.txt for details.
*/
public final class ispyConstants {
// Specifies the location in the webapp classes directory
// to find ApplicationResources.properties
public static final Str... | .version 52 0
.class public final super ispyConstants
.super java/lang/Object
.field public static final APPLICATION_RESOURCES Ljava/lang/String; = 'ApplicationResources'
.field public static final CACHE_PROPERTIES Ljava/lang/String; = 'rembrandtCache'
.field public static final LOGGER Ljava/lang/String; = 'gov.ni... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:10:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:10:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,342 |
NotConnectedException | /**
* Copyright (c) 2011, 2014 Eurotech and/or its affiliates
*
* <p>All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* <p... | .version 52 0
.class public super NotConnectedException
.super java/net/SocketException
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'The Socket is Not Connected'
L3: invokespecial Method java/net/SocketException <init> (Ljava/lang/String;)V
L6: return
L7:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:42:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:42:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,343 |
UserInputCommand | import java.awt.Robot;
import java.io.Serializable;
public abstract class UserInputCommand implements Serializable {
public UserInputCommand(Integer... commandValue) {}
;
public String toString() {
return this.getClass().getName();
}
public abstract void execute(Robot r);
}
| .version 52 0
.class public super abstract UserInputCommand
.super java/lang/Object
.implements java/io/Serializable
.method public varargs <init> : ([Ljava/lang/Integer;)V
.code stack 1 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:55:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:55:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 144,344 |
Hex | /*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super Hex
.super java/lang/Object
.field private static final DIGITS [C
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 23
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:38:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:38:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,345 |
MyFilter | import java.io.File;
import java.io.FileFilter;
public class MyFilter implements FileFilter {
private String extension;
public MyFilter() {}
public MyFilter(String extension) {
this.extension = extension;
}
@Override
public boolean accept(File file) {
if (file.isDirectory()) return false;
S... | .version 52 0
.class public super MyFilter
.super java/lang/Object
.implements java/io/FileFilter
.field private extension Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:37:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:37:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,346 |
SharedObjectException | /*
* RED5 Open Source Flash Server - https://github.com/Red5/
*
* Copyright 2006-2016 by respective authors (see below). All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | .version 52 0
.class public super SharedObjectException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 4152370716169030341L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:15:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:15:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,347 |
OpenRecordingOptionsEvent | /**
* @author Tihomir Leka <tihomir at backyardbrains.com>
*/
public class OpenRecordingOptionsEvent {
private final String filePath;
public OpenRecordingOptionsEvent(String filePath) {
this.filePath = filePath;
}
public String getFilePath() {
return filePath;
}
}
| .version 52 0
.class public super OpenRecordingOptionsEvent
.super java/lang/Object
.field private final filePath Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:05:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:05:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,348 |
StreamTester | import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
public class StreamTester {
public static void main(String args[]) {
List<String> source = Arrays.asList("abc", "", "bc", "efg", "abcd", "", "jkl");
List<String> filtered =
source.pa... | .version 52 0
.class public super StreamTester
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:53:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:53:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,349 |
SubCategory | public class SubCategory {
Long id;
String type;
String title;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getTitle() {
retu... | .version 52 0
.class public super SubCategory
.super java/lang/Object
.field id Ljava/lang/Long;
.field type Ljava/lang/String;
.field title Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:41:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:41:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,350 |
BookshelfException | public class BookshelfException extends RuntimeException {
private static final long serialVersionUID = 5796870983098008187L;
public BookshelfException() {
super();
}
public BookshelfException(String arg0, Throwable arg1, boolean arg2, boolean arg3) {
super(arg0, arg1, arg2, arg3);
}
public Books... | .version 52 0
.class public super BookshelfException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 5796870983098008187L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:38:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:38:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,351 |
NoticeBean | /** 测试 Created by zm on 2018/9/11. */
public class NoticeBean {
private String id;
private String datetime;
private String title;
private String url;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getDatetime() {
return datetime;
}
... | .version 52 0
.class public super NoticeBean
.super java/lang/Object
.field private id Ljava/lang/String;
.field private datetime Ljava/lang/String;
.field private title Ljava/lang/String;
.field private url Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: inv... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:37:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:37:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,352 |
MyPagination | import java.util.ArrayList;
import java.util.List;
public class MyPagination {
public List<Object> list = null;
private int recordCount = 0;
private int pagesize = 0;
private int maxPage = 0;
// ³õʼ»¯·ÖÒ³ÐÅÏ¢
public List getInitPage(List list, int Page, int pagesize) {
List<Object> newList = new Arra... | .version 52 0
.class public super MyPagination
.super java/lang/Object
.field public list Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Object;>;
.end fieldattributes
.field private recordCount I
.field private pagesize I
.field private maxPage I
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:01:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:01:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,353 |
NoneStepClass | public class NoneStepClass {
public void nonStepMethod() {}
}
| .version 52 0
.class public super NoneStepClass
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:53:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:53:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,354 |
Main |
public class Main {
public static String[] amount_value(int input1, String[] input2) {
return input2;
}
}
| .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:32:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:32:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,355 |
OkFlag | /*******************************************************************************
*
* Copyright (c) 2005 - 2013 Nos Doughty
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | .version 52 0
.class public super OkFlag
.super java/lang/Object
.field private ok Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_1
L6: putfield Field OkFlag ok Z
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:35:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:35:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,356 |
MCRSystemException | /*
* MCRSystemException.java
*/
/**
* @author <a href="mailto:ldiaman0@rosario.gov.ar">Luciano Daniel Diamand</a>
*/
public class MCRSystemException extends RuntimeException {
/** */
private static final long serialVersionUID = 7388021899235110426L;
/** */
public MCRSystemException() {
/* NULL */
}... | .version 52 0
.class public super MCRSystemException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 7388021899235110426L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:10:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:10:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,357 |
TestEntity | public class TestEntity {
Integer id;
String name;
Integer value;
public TestEntity() {}
public TestEntity(Integer id, String name, Integer value) {
this.id = id;
this.name = name;
this.value = value;
}
public boolean equals(Object o) {
if (!(o instanceof TestEntity)) return false;
... | .version 52 0
.class public super TestEntity
.super java/lang/Object
.field id Ljava/lang/Integer;
.field name Ljava/lang/String;
.field value Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:05:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:05:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,358 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:33:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:33:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,359 |
OpenByUNCPathNameTest | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super OpenByUNCPathNameTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 34
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:51:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:51:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,360 |
RawMonitorExit0103 | /*
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2... | .version 52 0
.class public super RawMonitorExit0103
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:49:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:49:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,361 |
removeDelayFromFingerprint | import java.io.*;
import java.util.ArrayList;
public class removeDelayFromFingerprint {
public static void main(String[] args) throws IOException {
if (args.length != 1) {
System.err.println("Usage: java removeDelayFromFingerPrint file1");
System.exit(1);
}
BufferedReader file1 = openFileRea... | .version 52 0
.class public super removeDelayFromFingerprint
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:30:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:30:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,362 |
MiClase | // A pesar de que MiClase no implementa cloneable, por defecto (y herencia)
// es cloneable para las clases hijas.
public class MiClase {
public static void main(String[] args) {
new OtraClase().copiame();
}
}
class OtraClase extends MiClase {
public OtraClase copiame() {
try {
return (OtraClase) ... | .version 52 0
.class public super MiClase
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:18:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:18:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,363 |
ContractChangePlanDetailAttrPo | import java.io.Serializable;
public class ContractChangePlanDetailAttrPo implements Serializable {
private String attrId;
private String contractId;
private String detailId;
private String specCd;
private String statusCd = "0";
private String storeId;
private String value;
public String getAttrId() {... | .version 52 0
.class public super ContractChangePlanDetailAttrPo
.super java/lang/Object
.implements java/io/Serializable
.field private attrId Ljava/lang/String;
.field private contractId Ljava/lang/String;
.field private detailId Ljava/lang/String;
.field private specCd Ljava/lang/String;
.field private statu... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:06:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:06:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,364 |
FAOSYBSQL2 | /**
* FENIX (Food security and Early warning Network and Information Exchange)
*
* <p>Copyright (c) 2011, by FAO of UN under the EC-FAO Food Security Information for Action
* Programme
*
* <p>This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public Licen... | .version 52 0
.class public super FAOSYBSQL2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 31
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:32:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:32:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,365 |
databaseFunctions | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.Timestamp;
import java.t... | .version 52 0
.class public super databaseFunctions
.super java/lang/Object
.field protected final DB_URL Ljava/lang/String; = 'jdbc:derby://localhost:1527/ScheduleSystem'
.field static conn Ljava/sql/Connection;
.field private static eventID I
.method public <init> : ()V
.code stack 2 locals 1
L0: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:18:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:18:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,366 |
GenericStringTest | /*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super GenericStringTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 37
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:52:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:52:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,367 |
VisionParticleMeasurements | import java.util.Comparator;
public class VisionParticleMeasurements
implements Comparator<VisionParticleMeasurements>, Comparable<VisionParticleMeasurements> {
public double TotalParticleArea;
public double BoundingRectLeft;
public double BoundingRectWidth;
public double BoundingRectTop;
public double B... | .version 52 0
.class public super VisionParticleMeasurements
.super java/lang/Object
.implements java/util/Comparator
.implements java/lang/Comparable
.field public TotalParticleArea D
.field public BoundingRectLeft D
.field public BoundingRectWidth D
.field public BoundingRectTop D
.field public BoundingRectH... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:15:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:15:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,368 |
Test | // "Wrap argument using 'new File()'" "true"
import java.io.File;
class Test {
void m() {
readFile(new File("my.txt"));
}
static String readFile(File f) {
return null;
}
}
| .version 52 0
.class super Test
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 17:00:44 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 17:00:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,369 |
ApiInfo | public class ApiInfo {
public static final ApiInfo DEFAULT =
new ApiInfo(
"Api Documentation",
"Api Documentation",
"1.0",
"urn:tos",
"Contact Email",
"Apache 2.0",
"http://www.apache.org/licenses/LICENSE-2.0");
private final String versio... | .version 52 0
.class public super ApiInfo
.super java/lang/Object
.field public static final DEFAULT LApiInfo;
.field private final version Ljava/lang/String;
.field private final title Ljava/lang/String;
.field private final description Ljava/lang/String;
.field private final termsOfServiceUrl Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:24:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:24:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,370 |
Emergency | import java.sql.Date;
public class Emergency {
private Integer emerNo;
private Date regDate;
private Date emerDate;
private String emerContent;
private String influence;
private String analytics;
private String code;
private String level;
private String operators;
private String projNo;
private ... | .version 52 0
.class public super Emergency
.super java/lang/Object
.field private emerNo Ljava/lang/Integer;
.field private regDate Ljava/sql/Date;
.field private emerDate Ljava/sql/Date;
.field private emerContent Ljava/lang/String;
.field private influence Ljava/lang/String;
.field private analytics Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:39:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Date;
import java.time.LocalDate;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.moc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:39:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,371 |
Constants | public class Constants {
public static final boolean DEBUG = true;
public static final int MSG_DEBUG = 0;
public static final int MSG_NORMAL = 1;
}
| .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final DEBUG Z = 1
.field public static final MSG_DEBUG I = 0
.field public static final MSG_NORMAL I = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:17:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:17:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,372 |
Scrabble |
class Scrabble {
int score;
Scrabble(String word) {
score = word.toUpperCase().codePoints().map(this::scoreMapper).sum();
}
public int scoreMapper(int c) {
switch (c) {
case 'D':
case 'G':
return 2;
case 'B':
case 'C':
case 'M':
case 'P':
return 3;... | .version 52 0
.class super Scrabble
.super java/lang/Object
.field score I
.method <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: invokevirtual Method java/lang/String toUpperCase ()Lja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:13:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:13:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,373 |
MinimumOperationsToMakeTheArrayIncreasing | import java.io.*;
import java.util.*;
class MinimumOperationsToMakeTheArrayIncreasing {
public static void main(String[] args) {
System.out.println("=== 1827. Minimum Operations to Make the Array Increasing ===");
Solution solution = new Solution();
int[][] input = {
{1, 1, 1},
{1, 5, 2, 4, 1... | .version 52 0
.class super MinimumOperationsToMakeTheArrayIncreasing
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:55:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:55:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,374 |
PublicKey | import java.math.BigInteger;
/** Represents a public key with values n and e. */
public class PublicKey {
private BigInteger n;
private BigInteger e;
public PublicKey(BigInteger n, BigInteger e) {
this.n = n;
this.e = e;
}
public BigInteger getN() {
return n;
}
public BigInteger getE() {
... | .version 52 0
.class public super PublicKey
.super java/lang/Object
.field private n Ljava/math/BigInteger;
.field private e Ljava/math/BigInteger;
.method public <init> : (Ljava/math/BigInteger;Ljava/math/BigInteger;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:23:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:23:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,375 |
InvalidOldFilenameException | import java.io.IOException;
public class InvalidOldFilenameException extends IOException {
public InvalidOldFilenameException(String message, Throwable cause) {
super(message, cause);
}
}
| .version 52 0
.class public super InvalidOldFilenameException
.super java/io/IOException
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/io/IOException <init> (Ljava/lang/String;Ljava... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:05:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:05:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,376 |
Banner | /**
* @author chenyao
* @date 2017/11/1 14:58
*/
public class Banner {
private String str;
public Banner(String str) {
this.str = str;
}
public void showWithParen() {
System.out.println("(" + str + ")");
}
public void showWithAster() {
System.out.println("*" + str + "*");
}
}
| .version 52 0
.class public super Banner
.super java/lang/Object
.field private str Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field Banne... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:29:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:29:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,377 |
Qualification | import java.io.File;
import java.util.ArrayList;
import java.util.List;
public final class Qualification {
private File fileName;
private List<Float> times;
private String shipClassName;
public Qualification() {
this.times = new ArrayList<Float>();
}
public Qualification(File fileName) {
this.... | .version 52 0
.class public final super Qualification
.super java/lang/Object
.field private fileName Ljava/io/File;
.field private times Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Float;>;
.end fieldattributes
.field private shipClassName Ljava/lang/String;
.method public <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:47:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:47:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,378 |
ObjectOutput | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author David
*/
public abstract class ObjectOutput {
public abstract void writeObject(Object obj) throws Throwable;
}
| .version 52 0
.class public super abstract ObjectOutput
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:00:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:00:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 144,379 |
TestRandom | import java.util.Random;
public class TestRandom {
public static void main(String[] args) {
Random random = new Random();
System.out.println(random.nextInt(3));
}
}
| .version 52 0
.class public super TestRandom
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:29:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:29:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,380 |
DatasetRenderingOrder | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | .version 52 0
.class public final super DatasetRenderingOrder
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -600593412366385072L
.field public static final FORWARD LDatasetRenderingOrder;
.field public static final REVERSE LDatasetRenderingOrder;
.field... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:33:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:33:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,381 |
SymbolTable | import java.util.HashMap;
public class SymbolTable {
public String name;
public String type;
public SymbolTable father;
public HashMap<String, SymbolTable> children = new HashMap<String, SymbolTable>();
public SymbolTable(String name, SymbolTable father, String type) {
this.name = name;
this.father... | .version 52 0
.class public super SymbolTable
.super java/lang/Object
.field public name Ljava/lang/String;
.field public type Ljava/lang/String;
.field public father LSymbolTable;
.field public children Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;LSymbolTable;>;
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:42:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:42:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,382 |
WordString |
/**
* Reverse Words in a String II Description: Given an input string, reverse the string word by word.
* A word is defined as a sequence of non-space characters. The input string does not contain
* leading or trailing spaces and the words are always separated by a single space. For example,
* Given s = "the sky i... | .version 52 0
.class public super WordString
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:17:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:17:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,383 |
Body | /**
* Created on 19.01.18. Body type.
*
* @author Wamdue
* @version 1.0
*/
public class Body {
/** Body type id. */
private int id;
/** Body type name. */
private String name;
/**
* Get Body type id.
*
* @return id.
*/
public int getId() {
return id;
}
/**
* Set new Body type i... | .version 52 0
.class public super Body
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:49:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:49:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,384 |
Preconditions | /*
* Copyright 2011-2012 Terradue srl
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | .version 52 0
.class public final super Preconditions
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
L4 27
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:36:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:36:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,385 |
Constants | // ======================================================================================
// Copyright 5AM Solutions Inc, Yale University
//
// Distributed under the OSI-approved BSD 3-Clause License.
// See http://ncip.github.com/caarray/LICENSE.txt for details.
// =====================================================... | .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final BUNDLE_KEY Ljava/lang/String; = 'ApplicationResources'
.field public static final ENC_ALGORITHM Ljava/lang/String; = 'algorithm'
.field public static final ENCRYPT_PASSWORD Ljava/lang/String; = 'encryptPassword'
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:34:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:34:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 144,386 |
ReinasVA | /* Descripcion: Clase que realiza el problema de las N reinas con vuelta atras
* Autor: Víctor del Valle del Apio
* e-mail: victorvalleapio@gmail.com
* Fecha: 13-06-2014
*/
import java.util.Scanner;
public class ReinasVA {
public ReinasVA(int n) {
this.N = n;
this.sol = new int[N];
this.C = new boo... | .version 52 0
.class public super ReinasVA
.super java/lang/Object
.field private N I
.field private sol [I
.field private C [Z
.field private D [Z
.field private cont I
.method public <init> : (I)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:04:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:04:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,387 |
ExcludedClass | /*
* Copyright 2020 adam.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | .version 52 0
.class public super ExcludedClass
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:04:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:04:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,388 |
SegmentInfo | /*
* (C) 2007-2012 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | .version 52 0
.class public super SegmentInfo
.super java/lang/Object
.field public final startOffset J
.field public final size J
.method public <init> : (JJ)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lload_1
L6: putfiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:23:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:23:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,389 |
NoNeg | import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
/** https://codingbat.com/prob/p103456 */
public final class NoNeg {
public List<Integer> noNeg(List<Integer> nums) {
return nums.stream()
.filter(n -> n > 0 || n == 0)
.collect(Collectors.toCollection(ArrayLis... | .version 52 0
.class public final super NoNeg
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:02:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:02:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,390 |
ServiceUtil | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super ServiceUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:51:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:51:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,391 |
BarData | public class BarData {
private int color;
private float percent;
public int getColor() {
return color;
}
public void setColor(int color) {
this.color = color;
}
public float getPencent() {
return percent;
}
public void setPencent(float pencent) {
this.percent = pencent;
}
}
| .version 52 0
.class public super BarData
.super java/lang/Object
.field private color I
.field private percent F
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:25:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:25:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,392 |
FastStringWriter | /*
* =============================================================================
*
* Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | .version 52 0
.class public final super FastStringWriter
.super java/io/Writer
.field private final builder Ljava/lang/StringBuilder;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/io/Writer <init> ()V
L4: aload_0
L5: new java/lang/StringBuilde... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:46:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:46:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,393 |
Assert | /******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... | .version 52 0
.class public final super Assert
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
L4 14
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:02:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:02:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,394 |
Location | public class Location {
private Double latitude;
private Double longitude;
private Double radius;
//////////
public Location() {} // NOTE: Empty constructor...
//////////
public Location(Double latitude, Double longitude, Double radius) {
this.latitude = latitude;
this.longitude = longitude;
... | .version 52 0
.class public super Location
.super java/lang/Object
.field private latitude Ljava/lang/Double;
.field private longitude Ljava/lang/Double;
.field private radius Ljava/lang/Double;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:03:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:03:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,395 |
BaseActionSource | public class BaseActionSource {
public boolean isPlayer() {
return false;
}
public boolean isMachine() {
return false;
}
}
| .version 52 0
.class public super BaseActionSource
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:44:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:44:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,396 |
CheckUtils | import java.util.Collection;
public class CheckUtils {
public static void checkNull(Object value, String message) throws IllegalArgumentException {
if (null == value) {
throw new IllegalArgumentException(message);
}
if (value instanceof String) {
if (((String) value).length() == 0) {
... | .version 52 0
.class public super CheckUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:21:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:21:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,397 |
MinMaxDivision | /**
* MinMaxDivision Puzzle
*
* <p>Best description can be found here :
* https://codility.com/programmers/lessons/14-binary_search_algorithm/min_max_division
*
* <p>Indra Gunawan - March 6, 2017
*/
import java.util.stream.IntStream;
public class MinMaxDivision {
public int solve(int K, int M, int A[]) {
... | .version 52 0
.class public super MinMaxDivision
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:14:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:14:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,398 |
SingleDiceResult | public class SingleDiceResult {
public Object getDice() {
return null; // Dice
}
public Object valuesRolled() {
return null; // Number[]
}
public int sum() {
return 0;
}
}
| .version 52 0
.class public super SingleDiceResult
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:15:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:15:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 144,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.