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 |
|---|---|---|---|---|---|
Colors | /**
* various spectrum palettes
* https://github.com/cjcliffe/CubicSDR/blob/master/src/visual/ColorTheme.cpp
*/
public class Colors {}
| .version 52 0
.class public super Colors
.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 9
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:45: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 06:45: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;
... | 133,100 |
ShortcutBadgeException | public class ShortcutBadgeException extends Exception {
public ShortcutBadgeException(String message) {
super(message);
}
}
| .version 52 0
.class public super ShortcutBadgeException
.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:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:16: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
* Fri Jul 01 07:16: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;
... | 133,101 |
DynamicProxy | import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
/** Created by zhaoxu on 2017/3/1. */
public class DynamicProxy implements InvocationHandler {
private Object object; // 被代理的类的引用
public DynamicProxy(Object object) {
this.object = object;
}
@Override
public Object invoke(Obj... | .version 52 0
.class public super DynamicProxy
.super java/lang/Object
.implements java/lang/reflect/InvocationHandler
.field private object Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:44:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.lang.reflect.Method;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:44: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;
... | 133,102 |
NameChange | import java.util.EventObject;
public class NameChange extends EventObject {
private String changedName;
public NameChange(String changedName) {
super(changedName);
this.changedName = changedName;
}
public String getChangedName() {
return this.changedName;
}
@Override
public String toString... | .version 52 0
.class public super NameChange
.super java/util/EventObject
.field private changedName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/util/EventObject <init> (Ljava/lang/Object;)V
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:56:58 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:56: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;
... | 133,103 |
HelloWorld | /*
* Copyright (C) 2013 Google, Inc.
*
* 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 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 18
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:53: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 09:53: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;
... | 133,104 |
FTPAuthenticationException | /*************************************************************************
* tranSMART - translational medicine data mart
*
* Copyright 2008-2012 Janssen Research & Development, LLC.
*
* This product includes software developed at Janssen Research & Development, LLC.
*
* This program is free software: you can re... | .version 52 0
.class public super FTPAuthenticationException
.super java/lang/Exception
.field private static final serialVersionUID J = 6864463970227476719L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:56:34 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 07:56:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,105 |
Equation | public class Equation {
private double a;
private double b;
private double c;
private int n;
public Equation(double a, double b, double c) {
this.a = a;
this.b = b;
this.c = c;
double d = b * b - 4 * a * c;
if (a == 0) {
if (b == 0) {
if (c == 0) {
n = -1;
... | .version 52 0
.class public super Equation
.super java/lang/Object
.field private a D
.field private b D
.field private c D
.field private n I
.method public <init> : (DDD)V
.code stack 6 locals 9
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:36:52 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:36:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,106 |
Cat | /* Класс Cat и статическая переменная catCount
Создать статическую переменную int catCount в классе Cat. Создай конструктор [public Cat()], в котором увеличивай данную переменную на 1.
*/
public class Cat {
// напишите тут ваш код
static int catCount = 0;
public Cat() {
catCount++;
}
}
| .version 52 0
.class public super Cat
.super java/lang/Object
.field static catCount I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: getstatic Field Cat catCount I
L7: iconst_1
L8: iadd
L9: putstatic Field ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:10:57 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:10: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;
... | 133,107 |
CancelledServerWebExchangeException | /*
* Copyright 2012-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | .version 52 0
.class public super CancelledServerWebExchangeException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 27
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:20: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
* Mon Jul 04 02:20: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;
... | 133,108 |
MiitaException | /**
* Miita Exception.
*
* <p>Created by naoto on 2016/10/21.
*/
public final class MiitaException extends Exception {
public MiitaException(String message) {
super(message);
}
}
| .version 52 0
.class public final super MiitaException
.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:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:05: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
* Fri Jul 01 06:05: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;
... | 133,109 |
AbstractViewDto | import java.beans.PropertyChangeListener;
/**
* .
*
* @author ahorvath
*/
public class AbstractViewDto {
private long id;
public void addPropertyChangeListener(PropertyChangeListener pcl) {}
public long getId() {
return id;
}
public void removePropertyChangeListener(PropertyChangeListener pcl) {}
... | .version 52 0
.class public super AbstractViewDto
.super java/lang/Object
.field private id J
.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 linenu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:10:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeListenerProxy;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:10: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;
... | 133,110 |
Product | public class Product {
public Product(String productId, String description, String value) {
super();
this.productId = productId;
this.description = description;
this.value = value;
}
public String getDescription() {
return description;
}
public String getValue() {
return value;
}
... | .version 52 0
.class public super Product
.super java/lang/Object
.field private productId Ljava/lang/String;
.field private description Ljava/lang/String;
.field private value Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:34:01 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 07:34:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,111 |
BytesUtils | public abstract class BytesUtils {
public static String bytes2HexString(byte[] src) {
StringBuilder stringBuilder = new StringBuilder("");
if (null != src && src.length > 0) {
for (int i = 0; i < src.length; i++) {
int j = src[i] & 0xFF;
String str = Integer.toHexString(j);
if (... | .version 52 0
.class public super abstract BytesUtils
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:36: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 09:36: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;
... | 133,112 |
Hit | public class Hit {
private long id;
private Long hits;
private String page;
public Hit() {}
public Hit(Long hits, String page) {
this.hits = hits;
this.page = page;
}
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
public Long getHits() {
... | .version 52 0
.class public super Hit
.super java/lang/Object
.field private id J
.field private hits Ljava/lang/Long;
.field private page 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
* Mon Jul 04 15:16: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 15:16: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;
... | 133,113 |
OctToDec | public class OctToDec {
public static void main(String[] args) {
OctToDec otd = new OctToDec();
System.out.println(otd.OctalToDecimal(45));
}
int OctalToDecimal(int n) {
int sum = 0, c = 0;
while (n > 0) {
int r = n % 10;
sum = sum + r * (power(8, c));
c++;
n = n / 10;
... | .version 52 0
.class public super OctToDec
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:45: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
* Fri Jul 01 02:45: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;
... | 133,114 |
Generator | import java.util.Random;
public class Generator {
private String DBquery;
private String DBTablePrefix;
// change this stuff
private final String DBDriver = "//kraka.ucn.dk:1433";
private final String DBName = "dmai0914_2Sem_5";
private final String DBUserName = "dmai0914_2Sem_5";
private final String ... | .version 52 0
.class public super Generator
.super java/lang/Object
.field private DBquery Ljava/lang/String;
.field private DBTablePrefix Ljava/lang/String;
.field private final DBDriver Ljava/lang/String; = '//kraka.ucn.dk:1433'
.field private final DBName Ljava/lang/String; = 'dmai0914_2Sem_5'
.field private ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:59: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
* Sun Jul 03 19:59: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;
... | 133,115 |
FaceText | /**
* @ClassName: FaceText @Description: Ìí¼ÓÅóÓÑÊÊÅäµÄ»ùÀà
*
* @author kcj
* @date
*/
public class FaceText {
public String text;
public FaceText(String text) {
super();
this.text = text;
}
}
| .version 52 0
.class public super FaceText
.super java/lang/Object
.field public text 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 Fac... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:43:35 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:43: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;
... | 133,116 |
Face | import java.util.ArrayList;
import java.util.List;
public class Face {
public final List<Integer> indices;
public Face() {
this(new ArrayList<Integer>());
}
public Face(List<Integer> indices) {
this.indices = indices;
}
public boolean addIndex(int index) {
return indices.add(index);
}
}
| .version 52 0
.class public super Face
.super java/lang/Object
.field public final indices Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: new java/util/ArrayList
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:19:10 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 02:19:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,117 |
PseudoCall | /**
* **************************************************************************** Copyright (c)
* 2010-2015 by Min Cai (min.cai.china@gmail.com).
*
* <p>This file is part of the Archimulator multicore architectural simulator.
*
* <p>Archimulator is free software: you can redistribute it and/or modify it under th... | .version 52 0
.class public super PseudoCall
.super java/lang/Object
.field private rs I
.field private imm I
.field public static final PSEUDOCALL_HELPER_THREAD_SPAWN I = 3720
.field public static final PSEUDOCALL_HOTSPOT_FUNCTION_BEGIN I = 3721
.field public static final PSEUDOCALL_HOTSPOT_FUNCTION_END I = 372... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:21:44 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:21: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;
... | 133,118 |
UnreadableException | /*****************************************************************
* JADE - Java Agent DEvelopment Framework is a framework to develop
* multi-agent systems in compliance with the FIPA specifications.
* Copyright (C) 2000 CSELT S.p.A.
*
* GNU Lesser General Public License
*
* This library is free software; you c... | .version 52 0
.class public super UnreadableException
.super java/lang/Exception
.method <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:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:27: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
* Fri Jul 01 10:27: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;
... | 133,119 |
IdGenerator | import java.util.concurrent.atomic.AtomicInteger;
public class IdGenerator {
private static final AtomicInteger sNextGeneratedId = new AtomicInteger(1);
/**
* Generate a value suitable for use in {@link #setId(int)}. This value will not collide with ID
* values generated at build time by aapt for R.id.
*... | .version 52 0
.class public super IdGenerator
.super java/lang/Object
.field private static final sNextGeneratedId Ljava/util/concurrent/atomic/AtomicInteger;
.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
* Sun Jul 03 23:07: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
* Sun Jul 03 23:07: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;
... | 133,120 |
WeatherZone | /**
* Copyright 2011 Joao Miguel Pereira
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or... | .version 52 0
.class public super WeatherZone
.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 22
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:17: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 17:17: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;
... | 133,121 |
UserAlarmReportDTO | /**
* A DTO used to report on the number of user alarms for a particular user.
*
* @author lmika
*/
public class UserAlarmReportDTO {
private String userId;
private int requestCount;
private int subscriptionCount;
private int totalCount;
/** The user ID this alarm report is for. */
public String getUse... | .version 52 0
.class public super UserAlarmReportDTO
.super java/lang/Object
.field private userId Ljava/lang/String;
.field private requestCount I
.field private subscriptionCount I
.field private totalCount I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:27: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
* Mon Jul 04 13:27: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;
... | 133,122 |
FileDirectoryInfo | //
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class FileDirectoryInfo implements Serializable {
private static final long serialVersionUID = 1L;
private String path;
private String prefix;
private List<String> directories = new ArrayList<String>();
private List<St... | .version 52 0
.class public super FileDirectoryInfo
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private path Ljava/lang/String;
.field private prefix Ljava/lang/String;
.field private directories Ljava/util/List; .fieldattributes
.signa... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:05:37 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
* Sat Jul 02 20:05: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;
... | 133,123 |
EclecticException | public class EclecticException extends Exception {
private static final long serialVersionUID = 83549343536583181L;
public EclecticException(Throwable e) {
super(e);
}
public EclecticException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super EclecticException
.super java/lang/Exception
.field private static final serialVersionUID J = 83549343536583181L
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:40:21 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 19:40: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;
... | 133,124 |
StringVector | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | .version 52 0
.class public super StringVector
.super java/lang/Object
.implements java/io/Serializable
.field static final serialVersionUID J = 4995234972032919748L
.field protected m_blocksize I
.field protected m_map [Ljava/lang/String;
.field protected m_firstFree I
.field protected m_mapSize I
.method pu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:03:45 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 09:03: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;
... | 133,125 |
Production5671 | public class Production5671 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production5671
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:24:39 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:24: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;
... | 133,126 |
CustomisedStringPropertyBean | public class CustomisedStringPropertyBean {
private String theString;
public String getTheString() {
return theString;
}
public void setTheString(String theString) {
this.theString = theString;
}
}
| .version 52 0
.class public super CustomisedStringPropertyBean
.super java/lang/Object
.field private theString 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
* Fri Jul 01 07:34:48 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 07:34: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;
... | 133,127 |
MyReentrantLock | import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/** Created by zouhuibo on 2017/9/25. */
public class MyReentrantLock {
public static void main(String[] args) {
ReentrantLock myLock = new ReentrantLock();
// 获得锁myLock的一个条件对象
Condition condition = myLock.newC... | .version 52 0
.class public super MyReentrantLock
.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 9
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:11: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
* Fri Jul 01 17:11: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;
... | 133,128 |
TangoColorFactory | /*
* Copyright 2012 JBoss Inc
*
* 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 i... | .version 52 0
.class public super TangoColorFactory
.super java/lang/Object
.field public static final CHAMELEON_1 Ljava/awt/Color;
.field public static final CHAMELEON_2 Ljava/awt/Color;
.field public static final CHAMELEON_3 Ljava/awt/Color;
.field public static final BUTTER_1 Ljava/awt/Color;
.field public st... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:06:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
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 16:06:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,129 |
CollectionUtil | /*
* Copyright (c) 2020, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms of... | .version 52 0
.class public super CollectionUtil
.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 35
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:52:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:52: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;
... | 133,130 |
IntegerIterator | /*
* Concept profile generation tool suite
* Copyright (C) 2015 Biosemantics Group, Erasmus University Medical Center,
* Rotterdam, The Netherlands
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free So... | .version 52 0
.class public super IntegerIterator
.super java/lang/Object
.implements java/util/Iterator
.field protected current I
.field protected size I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:26:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.function.Consumer;
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 10:26: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;
... | 133,131 |
RuleMatcher | public class RuleMatcher {
private String prefix;
private int prefixLength;
private String separator = ":";
public RuleMatcher(String prefix) {
if (prefix == null) {
throw new IllegalArgumentException("prefix cannot be null");
}
if ("".equals(prefix.trim())) {
throw new IllegalArgument... | .version 52 0
.class public super RuleMatcher
.super java/lang/Object
.field private prefix Ljava/lang/String;
.field private prefixLength I
.field private separator Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:06:40 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:06: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;
... | 133,132 |
Command | /**
* Copyright 2012-2021 Digital.ai
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agr... | .version 52 0
.class public super Command
.super java/lang/Object
.field private final command Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method private <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:38:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:38: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;
... | 133,133 |
DBConnection | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.LinkedList;
/**
* A classe <code>DBConnection</code> é responsavel pela conexao com o banco de dados SQLite e
* operacoes ... | .version 52 0
.class public super DBConnection
.super java/lang/Object
.field private static mInstace LDBConnection;
.field static final JDBC_DRIVER Ljava/lang/String; = 'org.sqlite.JDBC'
.field static final DB_URL Ljava/lang/String; = 'jdbc:sqlite:'
.field static final DB_TYPE Ljava/lang/String; = ''
.field sta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:31:44 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.sql.ResultSet;
import java.sql.ResultSetMetaData... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:31: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;
... | 133,134 |
GraphApplet | /*
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this l... | .version 52 0
.class public super GraphApplet
.super java/applet/Applet
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/applet/Applet <init> ()V
L4: return
L5:
.linenumbertable
L0 37
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:32:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:32: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;
... | 133,135 |
Dimen | /**
* @author Yann Chou
* @mail zhouyanbin1029@gmail.com
* @time 16/6/4.18:41
*/
public class Dimen {
private float value;
private String name;
public float getValue() {
return value;
}
public void setValue(float value) {
this.value = value;
}
public String getName() {
return name;
}... | .version 52 0
.class public super Dimen
.super java/lang/Object
.field private value F
.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 19:41: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
* Sat Jul 02 19:41: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;
... | 133,136 |
Presenter | /** Created by egordm on 17-8-2017. */
public class Presenter {
public int id;
}
| .version 52 0
.class public super Presenter
.super java/lang/Object
.field public id I
.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 linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:06:44 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 00:06: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;
... | 133,137 |
AnalysisEmailPipelineResult | /**
* Used as a request to update if a user should receive email an email upon completion or error..
*/
public class AnalysisEmailPipelineResult {
private Long analysisSubmissionId;
private boolean emailPipelineResultCompleted;
private boolean emailPipelineResultError;
public AnalysisEmailPipelineResult() {}... | .version 52 0
.class public super AnalysisEmailPipelineResult
.super java/lang/Object
.field private analysisSubmissionId Ljava/lang/Long;
.field private emailPipelineResultCompleted Z
.field private emailPipelineResultError Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invo... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:37:44 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 15:37: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;
... | 133,138 |
Matrix4f | public class Matrix4f {
public Matrix4f() {
m = new float[4][4];
}
private float[][] m;
public Matrix4f loadOrthographic(
float left, float right, float top, float bottom, float zNear, float zFar) {
m[0][0] = 2.0f / (right - left);
m[0][1] = 0;
m[0][2] = 0;
m[0][3] = -(right + left)... | .version 52 0
.class public super Matrix4f
.super java/lang/Object
.field private m [[F
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_4
L6: iconst_4
L7: multianewarray [[F 2
L11: putf... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:35:00 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 11:35:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,139 |
CountAndSay | /**
* The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211,
* 111221, ...
*
* <p>1 is read off as "one 1" or 11. 11 is read off as "two 1s" or 21. 21 is read off as "one 2,
* then one 1" or 1211.
*
* <p>Given an integer n, generate the nth sequence.
*
* <p>Note: The sequ... | .version 52 0
.class public super CountAndSay
.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 17
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:50:08 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 10:50: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;
... | 133,140 |
BasicoER06 | // Mostrar del 100 al 1 usando for
public class BasicoER06 {
public static void main(String[] args) {
System.out.println(" -- BasicoER06 --");
for (int a = 100; a >= 0; a--) {
System.out.println(a);
}
}
}
| .version 52 0
.class public super BasicoER06
.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
* Sun Jul 03 18:04: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
* Sun Jul 03 18:04: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;
... | 133,141 |
DaoException | /**
* @author Robert HG (254963746@qq.com) on 8/22/15.
*/
public class DaoException extends RuntimeException {
private static final long serialVersionUID = -4031278211419963345L;
public DaoException() {
super();
}
public DaoException(String message) {
super(message);
}
public DaoException(Stri... | .version 52 0
.class public super DaoException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -4031278211419963345L
.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
* Fri Jul 01 08:05: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 08:05: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;
... | 133,142 |
HouseholdRegisterBean | /**
* JavaBean used for the Household Registration Book report
*
* @author Dave
*/
public class HouseholdRegisterBean {
String houseNumber;
String locationId;
String name;
String dob;
String familyName;
String individualId;
String gender;
String father;
String mother;
String lowestLevelName;
... | .version 52 0
.class public super HouseholdRegisterBean
.super java/lang/Object
.field houseNumber Ljava/lang/String;
.field locationId Ljava/lang/String;
.field name Ljava/lang/String;
.field dob Ljava/lang/String;
.field familyName Ljava/lang/String;
.field individualId Ljava/lang/String;
.field gender Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:52: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
* Sat Jul 02 11:52: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;
... | 133,143 |
PracticeFour | public class PracticeFour {
public static String StringReverse(String s) {
StringBuilder sb = new StringBuilder(s);
return sb.reverse().toString();
}
public static void main(String[] args) {
String s = "Where is my santa gift?";
System.out.println(StringReverse(s));
}
}
| .version 52 0
.class public super PracticeFour
.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
* Fri Jul 01 06:27: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 06:27: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;
... | 133,144 |
Methods | import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
import java.util.Arrays;
import java.util.List;
public final class Methods {
private Methods() {}
public static boolean doesThrow(Method method, Throwable declared) {
return Arrays.stream(method.getExceptionTypes())
.filter(... | .version 52 0
.class public final super Methods
.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 10
L4 11
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:52:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.lang.reflect.Method;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:52:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,145 |
MultiplyStrings | import java.io.*;
import java.util.*;
class MultiplyStrings {
public static void main(String[] args) {
System.out.println("=== Multiply Strings ===");
Solution solution = new Solution();
String num1 = "123456789";
String num2 = "987654321";
String result = solution.multiply(num1, num2);
Sy... | .version 52 0
.class super MultiplyStrings
.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
.end code
.end metho... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:10:36 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 14: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;
... | 133,146 |
ArticleForUpload | /*
* MIT License
*
* Copyright (c) 2016 Warren Fan
*
* 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, including without limitation the rights
* to use, copy, modif... | .version 52 0
.class public super ArticleForUpload
.super java/lang/Object
.field private title Ljava/lang/String;
.field private author Ljava/lang/String;
.field private digest Ljava/lang/String;
.field private thumbMediaId Ljava/lang/String;
.field private showCoverPic I
.field private content Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:57: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
* Sat Jul 02 11:57: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;
... | 133,147 |
OutputBuffer | /*
* OutputBuffer.java June 2007
*
* Copyright (C) 2007, Niall Gallagher <niallg@users.sf.net>
*
* 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/... | .version 52 0
.class super OutputBuffer
.super java/lang/Object
.field private text Ljava/lang/StringBuilder;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/lang/StringBuilder
L8: dup
L9: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:48:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.StringWriter;
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
* Mon Jul 04 13:48: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;
... | 133,148 |
MenuExtractor | import java.util.Scanner;
public class MenuExtractor {
private Scanner s;
private boolean automatizado;
private int elapsed_time = 1;
/** Menu de inicio de la aplicacion */
public MenuExtractor() {
s = new Scanner(System.in);
System.out.println("Bienvenido al asistente");
System.out.println("Int... | .version 52 0
.class public super MenuExtractor
.super java/lang/Object
.field private s Ljava/util/Scanner;
.field private automatizado Z
.field private elapsed_time I
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:26:50 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
* Mon Jul 04 00:26: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;
... | 133,149 |
ArrayUtil | import java.util.Collection;
public class ArrayUtil {
public static Double max(Double[] data) {
Double max = 0.0;
for (Double aData : data) {
if (aData > max) max = aData;
}
return max;
}
public static Double min(Double[] data) {
Double min = Double.MAX_VALUE;
for (Double aDa... | .version 52 0
.class public super ArrayUtil
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:20:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:20: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;
... | 133,150 |
Product | import java.util.UUID;
/**
* A product in our example HAL shop.
*
* <p>Only a few attributes, just enough to illustrate how to use edison-hal.
*/
public final class Product {
public final String id = UUID.randomUUID().toString();
public final String title;
public final String description;
public final lon... | .version 52 0
.class public final super Product
.super java/lang/Object
.field public final id Ljava/lang/String;
.field public final title Ljava/lang/String;
.field public final description Ljava/lang/String;
.field public final retailPrice J
.method public <init> : (Ljava/lang/String;Ljava/lang/String;J)V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:41: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 12:41: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;
... | 133,151 |
IllegalMoveException | public class IllegalMoveException extends Exception {
/** Generated serial UID. */
private static final long serialVersionUID = -6946455144428545276L;
public IllegalMoveException(String string) {
super(string);
}
}
| .version 52 0
.class public super IllegalMoveException
.super java/lang/Exception
.field private static final serialVersionUID J = -6946455144428545276L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <ini... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:37: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
* Sun Jul 03 22:37: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;
... | 133,152 |
XCTestResultParserException | public abstract class XCTestResultParserException extends Exception {}
| .version 52 0
.class public super abstract XCTestResultParserException
.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 3
.end l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:11:00 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:11:00 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... | 133,153 |
ActivationKeyParser | import java.io.*;
import java.util.*;
public class ActivationKeyParser {
private Scanner scanner;
public static void main(String... args) {
File file = parseArguments(args);
if (file != null) {
ActivationKeyParser akp = new ActivationKeyParser();
akp.initScanner(file);
akp.run();
}
... | .version 52 0
.class public super ActivationKeyParser
.super java/lang/Object
.field private scanner Ljava/util/Scanner;
.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 00:45:06 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:45:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,154 |
DataFolderUtils | import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
public final class DataFolderUtils {
private DataFolderUtils() {}
public static File getFolder(File folder) throws IOException {
if (!folder.exists()) {
throw ... | .version 52 0
.class public final super DataFolderUtils
.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 11
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:38:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URI;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:38:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,155 |
Comment | /** Created by dimon on 16/12/26. */
public class Comment {
String name;
String content;
public void Comment(String name, String content) {
this.name = name;
this.content = content;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
pu... | .version 52 0
.class public super Comment
.super java/lang/Object
.field name Ljava/lang/String;
.field content 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
* Mon Jul 04 04:34: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 04:34: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;
... | 133,156 |
Primitives | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
@SuppressWarnings("unchecked")
public class Primitives {
private static final Map<Class<?>, Class<?>> PRIMITIVE_TYPES =... | .version 52 0
.class public super Primitives
.super java/lang/Object
.field private static final PRIMITIVE_TYPES Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
.end fieldattributes
.field private static final PRIMITIVE_OR_WRAPPER_DEFAULT_VALUES Ljava/util... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:57: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 11:57: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;
... | 133,157 |
License |
/** Copyright (c) 2016 Cisco Systems, Inc. See LICENSE file. */
public class License {
private String id;
private String displayName;
private String name;
private Integer totalUnits;
private Integer consumedUnits;
public String getId() {
return id;
}
public void setId(String id) {
this.id = i... | .version 52 0
.class public super License
.super java/lang/Object
.field private id Ljava/lang/String;
.field private displayName Ljava/lang/String;
.field private name Ljava/lang/String;
.field private totalUnits Ljava/lang/Integer;
.field private consumedUnits Ljava/lang/Integer;
.method public <init> : ()V ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:52:13 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:52: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;
... | 133,158 |
RChainContext | import java.util.HashMap;
import java.util.Map;
/**
* 责任链模式--上下文
*
* @author inter12
*/
public class RChainContext {
static ThreadLocal<RChainContext> contexts = new ThreadLocal<RChainContext>();
private static final String USER_ID = "userId";
Map<String, Object> context;
public RChainContext(int userI... | .version 52 0
.class public super RChainContext
.super java/lang/Object
.field static contexts Ljava/lang/ThreadLocal; .fieldattributes
.signature Ljava/lang/ThreadLocal<LRChainContext;>;
.end fieldattributes
.field private static final USER_ID Ljava/lang/String; = 'userId'
.field context Ljava/util/Map; .fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:53:44 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 07:53: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;
... | 133,159 |
ProcessScoresInATextFile | import java.io.File;
import java.util.Scanner;
/**
* @author Tony Liang
*/
public class ProcessScoresInATextFile {
/**
* Displays the sum and average of all scores in the given text file.
*
* <ul>
* <li>If the string array's length is not equal to 1, the program exits.
* <li>If the text file doe... | .version 52 0
.class public super ProcessScoresInATextFile
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:44:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:44: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;
... | 133,160 |
WorkerRunning | public class WorkerRunning {
private static boolean running = true;
public static boolean isRunning() {
return running;
}
public static void stop() {
running = false;
}
}
| .version 52 0
.class public super WorkerRunning
.super java/lang/Object
.field private static running Z
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:58: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
* Fri Jul 01 07:58: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;
... | 133,161 |
MathUtil | /** Created by SuperD on 2017/7/18. 数据计算的工具类 */
public class MathUtil {
/**
* sin计算
*
* @param angle
* @return
*/
public static float sin(int angle) {
return (float) Math.sin(angle * Math.PI / 180);
}
/**
* cos计算
*
* @param angle
* @return
*/
public static float cos(int ang... | .version 52 0
.class public super MathUtil
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:49:58 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 05:49: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;
... | 133,162 |
Skill | /**
* Represents a single skill.
*
* @author Graham
*/
public final class Skill {
/** The attack id. */
public static final int ATTACK = 0;
/** The defence id. */
public static final int DEFENCE = 1;
/** The strength id. */
public static final int STRENGTH = 2;
/** The hitpoints id. */
public st... | .version 52 0
.class public final super Skill
.super java/lang/Object
.field public static final ATTACK I = 0
.field public static final DEFENCE I = 1
.field public static final STRENGTH I = 2
.field public static final HITPOINTS I = 3
.field public static final RANGED I = 4
.field public static final PRAYER I ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:59: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
* Fri Jul 01 19:59: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;
... | 133,163 |
LisaWokbook | import java.util.Scanner;
/** https://www.hackerrank.com/challenges/lisa-workbook */
public class LisaWokbook {
private static int lisaWorkbook(int[] t, int k) {
int result = 0;
int page = 1;
for (int i = 0; i < t.length; i++) {
int nPages = (int) Math.ceil((double) t[i] / (double) k);
int pr... | .version 52 0
.class public super LisaWokbook
.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
* Mon Jul 04 00:55:38 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
* Mon Jul 04 00:55: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;
... | 133,164 |
StringTools | /*
* Copyright (C) 2016 Ludovic Moncla <ludovic.moncla@univ-pau.fr>
*
* This file is part of LibTools - Perdido project <http://erig.univ-pau.fr/PERDIDO/>
*
* LibTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar... | .version 52 0
.class public super StringTools
.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 33
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:32: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
* Mon Jul 04 03:32: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;
... | 133,165 |
ServerException | /**
* Copyright 2014-2015 SHAF-WORK
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agre... | .version 52 0
.class public super ServerException
.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:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:28:39 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
* Sun Jul 03 20:28: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;
... | 133,166 |
DS4PException | /*******************************************************************************
* Open Behavioral Health Information Technology Architecture (OBHITA.org)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Red... | .version 52 0
.class public super DS4PException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -6820537577171759098L
.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
* Fri Jul 01 15:00:46 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:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,167 |
JsonException | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super JsonException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 30
L4 31
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03: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
* Mon Jul 04 03: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;
... | 133,168 |
AdbException | /** */
/**
* @author Uladzimir Baraznouski
*/
public class AdbException extends Exception {
/** */
private static final long serialVersionUID = -7650895370046984057L;
/** */
public AdbException() {}
/**
* @param message
*/
public AdbException(String message) {
super(message);
}
/**
*... | .version 52 0
.class public super AdbException
.super java/lang/Exception
.field private static final serialVersionUID J = -7650895370046984057L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.l... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:34:54 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
* Sun Jul 03 17:34: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;
... | 133,169 |
RetireResources | import java.awt.*;
/**
* These are the English non-string resources for the retirement calculator.
*
* @version 1.21 2001-08-27
* @author Cay Horstmann
*/
public class RetireResources extends java.util.ListResourceBundle {
private static final Object[][] contents = {
// BEGIN LOCALIZE
{"colorPre", Color... | .version 52 0
.class public super RetireResources
.super java/util/ListResourceBundle
.field private static final contents [[Ljava/lang/Object;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/ListResourceBundle <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:25: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
* Fri Jul 01 14:25: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;
... | 133,170 |
FileHolder | /**
* Copyright 2011 Unicon (R) Licensed under the Educational Community 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
*
* <p>http://www.osedu.org/licenses/ECL-2.0
*
* <p>Unless required by applicable law or agre... | .version 52 0
.class public super FileHolder
.super java/lang/Object
.implements java/io/Serializable
.field private name Ljava/lang/String;
.field private size J
.field private file Ljava/io/File;
.field private inputStream Ljava/io/InputStream;
.field private mimeType Ljava/lang/String;
.method public <init... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:59:44 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.ByteArrayInputStream;
import java.io.File;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:59: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;
... | 133,171 |
GestoraSQL | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class GestoraSQL {
/**
* Metodo que creara una conexion con la base de datos
*
* @return La conexion con la base de datos
*/
public Connection crearConexion() {
String sourceURL = "jdbc:sqlserver://loc... | .version 52 0
.class public super GestoraSQL
.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 17:15:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Connection;
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 17:15: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;
... | 133,172 |
FileInputStreamDemo | import java.io.*;
class FileInputStreamDemo {
public static void main(String args[]) {
int size;
try (FileInputStream f = new FileInputStream("io/FileInputStream/FileInputStreamDemo.java")) {
System.out.println("Total Avaliable Bytes: " + (size = f.available()));
int n = size / 40;
System... | .version 52 0
.class super FileInputStreamDemo
.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
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:15:08 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.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:15: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;
... | 133,173 |
TestCaseInfo |
public abstract class TestCaseInfo {
public abstract String getDir();
public abstract String getName();
public abstract String getNamespace();
public abstract String getPackageName();
public abstract String getPackageDir();
public abstract String getResourceFrameworkType();
public String getExtens... | .version 52 0
.class public super abstract TestCaseInfo
.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
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:30:13 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:30:13 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... | 133,174 |
HelloWorldService | public class HelloWorldService {
public String sayHello() {
return "Hello, World!";
}
}
| .version 52 0
.class public super HelloWorldService
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:39: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 12:39: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;
... | 133,175 |
GroupMember | import java.nio.ByteBuffer;
public class GroupMember {
public final String memberId;
public final String clientId;
public final String clientHost;
public final int sessionTimeout;
public final ByteBuffer subscription;
public final ByteBuffer assignment;
public GroupMember(
String memberId,
... | .version 52 0
.class public super GroupMember
.super java/lang/Object
.field public final memberId Ljava/lang/String;
.field public final clientId Ljava/lang/String;
.field public final clientHost Ljava/lang/String;
.field public final sessionTimeout I
.field public final subscription Ljava/nio/ByteBuffer;
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:26:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.ByteBuffer;
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
* Mon Jul 04 13:26:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,176 |
Version | /*
* "BSLib", Brainstorm Library.
* Copyright (C) 2017 by Sergey V. Zhdanovskih.
*
* 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 Free Software Foundation, either version 3 of the License, or
* (at your opt... | .version 52 0
.class public super Version
.super java/lang/Object
.implements java/lang/Comparable
.field private final major I
.field private final minor I
.field private final patch I
.field private final qualifier Ljava/lang/String;
.field private static final SEPARATOR Ljava/lang/String; = '.'
.field priva... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:52:26 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 16:52: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;
... | 133,177 |
Difuso | /***********************************************************************
*
* This file is part of KEEL-software, the Data Mining tool for regression,
* classification, clustering, pattern mining and so on.
*
* Copyright (C) 2004-2010
*
* F. Herrera (herrera@decsai.ugr.es)
* L. Sánchez (luciano@uniovi.es)
* J. ... | .version 52 0
.class super Difuso
.super java/lang/Object
.field public x0 D
.field public x1 D
.field public x2 D
.field public x3 D
.field public y D
.field public Nombre Ljava/lang/String;
.field public Etiqueta Ljava/lang/String;
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:55: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 21:55: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;
... | 133,178 |
ScoreTracker | /**
* Provides functionality to keep track of the player's score.
*
* @author Jack Sheridan
*/
public class ScoreTracker {
/** Player's current score. */
private int score;
/** Highest score this session. */
private int highestScore;
/** Creates a new ScoreTracker. Sets score values to zero. */
public... | .version 52 0
.class public super ScoreTracker
.super java/lang/Object
.field private score I
.field private highestScore I
.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_0
L6: putfield Field ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:28: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 09:28: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;
... | 133,179 |
Rating | public class Rating {
public int seasonID;
public int seriesID;
public int episodeID;
public String comment;
public int rating;
public Rating(int series, int season, int episode, String com, int rate) {
seasonID = season;
seriesID = series;
episodeID = episode;
comment = com;
rating = ... | .version 52 0
.class public super Rating
.super java/lang/Object
.field public seasonID I
.field public seriesID I
.field public episodeID I
.field public comment Ljava/lang/String;
.field public rating I
.method public <init> : (IIILjava/lang/String;I)V
.code stack 2 locals 6
L0: aload_0
L1: in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:19:00 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:19:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,180 |
ProgressFileGeneration | import java.io.Serializable;
public class ProgressFileGeneration implements Serializable {
private static final long serialVersionUID = 577962636625103658L;
private String currentFileGeneration = "";
private int currentPercent = 0;
private int totalFiles = 0;
private int processed = 0;
private int waitPro... | .version 52 0
.class public super ProgressFileGeneration
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 577962636625103658L
.field private currentFileGeneration Ljava/lang/String;
.field private currentPercent I
.field private totalFiles I
.field privat... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:23:34 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 01:23:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,181 |
OptionalInt | import java.util.function.IntConsumer;
import java.util.function.IntSupplier;
import java.util.function.Supplier;
public final class OptionalInt {
private static OptionalInt INSTANCE_EMPTY;
private final boolean isPresent;
private final int value;
private OptionalInt(boolean isPresent, int value) {
this.... | .version 52 0
.class public final super OptionalInt
.super java/lang/Object
.field private static INSTANCE_EMPTY LOptionalInt;
.field private final isPresent Z
.field private final value I
.method private <init> : (ZI)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:37:56 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.util.LongSummaryStatistics;
import java.util.fun... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:37: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;
... | 133,182 |
OFXHttpProxy | /**
* @author Myles Hosford
*/
public class OFXHttpProxy {
private String hostname;
private int port;
private String username;
private String password;
private boolean isActive;
public boolean isIsActive() {
return isActive;
}
public void setIsActive(boolean isActive) {
this.isActive = isAct... | .version 52 0
.class public super OFXHttpProxy
.super java/lang/Object
.field private hostname Ljava/lang/String;
.field private port I
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.field private isActive Z
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:20:34 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:20:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,183 |
ClassWithEqualsAndHashCode | /*
* Copyright 2013 LMAX Ltd.
*
* 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 writing, ... | .version 52 0
.class public final super ClassWithEqualsAndHashCode
.super java/lang/Object
.field private i I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field ClassWithEquals... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:23: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
* Sat Jul 02 13:23: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;
... | 133,184 |
ASCII | import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Random;
public class ASCII {
public static StringBuilder draw(String text, int width, int height) {
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
Graphics _graphics = image.getGraphics();
_grap... | .version 52 0
.class public super ASCII
.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 m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:05: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.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21: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;
... | 133,185 |
Constants | /*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided tha... | .version 52 0
.class public final super Constants
.super java/lang/Object
.field public static final Package Ljava/lang/String; = 'org.apache.coyote.tomcat5'
.field public static final DEFAULT_CONNECTION_LINGER I = -1
.field public static final DEFAULT_CONNECTION_TIMEOUT I = 60000
.field public static final DEFAU... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:00:24 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 14:00:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,186 |
Util | // ----------------------------------------------------------------------------
// $Id: Util.java,v 1.10 2003/09/27 00:03:01 raif Exp $
//
// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
//
// This file is part of GNU Crypto.
//
// GNU Crypto is free software; you can redistribute it and/or modify
// i... | .version 52 0
.class public super Util
.super java/lang/Object
.field private static final HEX_DIGITS [C
.field private static final BASE64_CHARS Ljava/lang/String; = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz./'
.field private static final BASE64_CHARSET [C
.method private <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:07:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigInteger;
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 08:07: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;
... | 133,187 |
DataMissingApiException | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* <p>See the NOTICE file(s) distributed with this work for additional information.
*
* <p>This program and the accompanying materials are made available under the terms of the Eclipse
* Public License 2.0 which is available at http://www.eclipse.... | .version 52 0
.class public super DataMissingApiException
.super java/lang/Exception
.field private static final serialVersionUID J = 5544694019051691391L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <i... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:18: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
* Sun Jul 03 22:18: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;
... | 133,188 |
MissingNumbers | import java.util.*;
/** Created by h_shikhare on 1/13/2017. https://www.hackerrank.com/challenges/missing-numbers */
public class MissingNumbers {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int listASize = scanner.nextInt();
Map<Integer, Integer> mapA = new HashMap... | .version 52 0
.class public super MissingNumbers
.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 9
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:40:01 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 12:40:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,189 |
NumberFormatter |
/** Created by mbanchik on 7/6/17. */
public class NumberFormatter {
private static char[] c = new char[] {'k', 'm', 'b', 't'};
public static String format(long n, int iteration) {
if (n < 1000) {
return String.valueOf(n);
}
double d = ((long) n / 100) / 10.0;
boolean isRound =
(d *... | .version 52 0
.class public super NumberFormatter
.super java/lang/Object
.field private static c [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 11
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:57:01 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 15:57:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 133,190 |
Point | public class Point {
private int x;
private int y;
public void setX(int x) {
this.x = x;
}
public int getX() {
return x;
}
public void setY(int y) {
this.y = y;
}
public int getY() {
return y;
}
}
| .version 52 0
.class public super Point
.super java/lang/Object
.field private x I
.field private y I
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:04: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 03:04: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;
... | 133,191 |
PatternMatching | /*
* 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.io.Console;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author kmhasan
*/
public class Patte... | .version 52 0
.class public super PatternMatching
.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 16
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:57:38 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 14:57: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;
... | 133,192 |
SampleValues | public class SampleValues {
private final String id;
private int count;
private double sum, sumSq, min, max;
SampleValues(String statsId) {
id = statsId;
count = 0;
sum = 0;
sumSq = 0;
min = Double.MAX_VALUE;
max = Double.MIN_VALUE;
}
public void add(double v) {
count++;
s... | .version 52 0
.class public super SampleValues
.super java/lang/Object
.field private final id Ljava/lang/String;
.field private count I
.field private sum D
.field private sumSq D
.field private min D
.field private max D
.method <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:03: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
* Mon Jul 04 07:03: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;
... | 133,193 |
MavenVersionComparator | import java.util.Comparator;
/**
* Compares two version strings according to the Maven rules:
*
* <p>https://cwiki.apache.org/confluence/display/MAVENOLD/Versioning
*
* @author Stéphane Épardaud <stef@epardaud.fr>
*/
public class MavenVersionComparator implements Comparator<String> {
public static final Maven... | .version 52 0
.class public super MavenVersionComparator
.super java/lang/Object
.implements java/util/Comparator
.field public static final INSTANCE LMavenVersionComparator;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:12:11 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.util.Comparator;
import java.util.function.Funct... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:12: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;
... | 133,194 |
GuessGame | public class GuessGame {}
| .version 52 0
.class public super GuessGame
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:21: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
* Sat Jul 02 11:21: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;
... | 133,195 |
Config | public class Config implements Cloneable {
private String apiKey;
private String endpoint;
private String proxyUrl;
private int proxyPort;
private boolean retry;
private boolean rate;
public Config() {}
public String getApiKey() {
return apiKey;
}
public void setApiKey(String apiKey) {
t... | .version 52 0
.class public super Config
.super java/lang/Object
.implements java/lang/Cloneable
.field private apiKey Ljava/lang/String;
.field private endpoint Ljava/lang/String;
.field private proxyUrl Ljava/lang/String;
.field private proxyPort I
.field private retry Z
.field private rate Z
.method publi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00: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 00: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;
... | 133,196 |
Filter | /** 動作に必要なデータのみ取得するためのフィルターです。 */
public class Filter {
/** フィルターするContent-Type */
public static final String CONTENT_TYPE_FILTER = "text/plain";
/** キャプチャーするリクエストのバイトサイズ上限 */
public static final int MAX_POST_FIELD_SIZE = 1024 * 1024;
/** setAttribute用のキー(Response) */
public static final String RESPONSE_... | .version 52 0
.class public super Filter
.super java/lang/Object
.field public static final CONTENT_TYPE_FILTER Ljava/lang/String; = 'text/plain'
.field public static final MAX_POST_FIELD_SIZE I = 1048576
.field public static final RESPONSE_BODY Ljava/lang/String; = 'res-body'
.field public static final REQUEST_B... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:28: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
* Mon Jul 04 11:28: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;
... | 133,197 |
A | // 6, 19 - 6, 22
class A {
void f(String bar) {
String x = bar;
}
}
| .version 52 0
.class super A
.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 f ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:30: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
* Sun Jul 03 22:30: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;
... | 133,198 |
FlagExample3 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite contributors
*
* <p>This file is part of EvoSuite.
*
* <p>EvoSuite is free software: you can redistribute it and/or modify it under the terms of the GNU
* Lesser Public License as published by the Free Software Foundation, either version 3.0 ... | .version 52 0
.class public super FlagExample3
.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 22
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:50: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
* Sat Jul 02 05:50: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;
... | 133,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.