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 |
|---|---|---|---|---|---|
TemplateManagementServiceConfigurationException | /**
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# This file is part of
* the LDP4j Project: http://www.ldp4j.org/
*
* <p>Center for Open Middleware http://www.centeropenmiddleware.com/
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Copyright (C)
* 2... | .version 52 0
.class public super TemplateManagementServiceConfigurationException
.super java/lang/Exception
.field private static final serialVersionUID J = -3232432603895128046L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:08:02 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
* Sat Jul 02 19:08: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;
... | 143,200 |
Euler19b | class Euler19b {
static int monthDays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
private static boolean isLeapYear(int year) {
return ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0);
}
public static void main(String[] args) {
int count = 0;
// 01/jan/1900 is monday = 1, so... | .version 52 0
.class super Euler19b
.super java/lang/Object
.field static monthDays [I
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:08: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
* Sat Jul 02 22:08: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;
... | 143,201 |
MaxArea | /*
Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai).
n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0).
Find two lines, which together with x-axis forms a container, such that the container contains the ... | .version 52 0
.class public super MaxArea
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:19: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 22:19: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;
... | 143,202 |
Asignatura2 | // En esta clase se mostrará las asignaturas que el alumno ha elegido
// para ese destino en concreto, lo usará la clase
// AdaptadorAsignatura del paquete adaptadores_alumno despues de ser llamada por
// adaptador AdaptadorPrecontrato
public class Asignatura2 {
private String nombre;
public Asignatura2(String no... | .version 52 0
.class public super Asignatura2
.super java/lang/Object
.field private nombre 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 Fie... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:37:07 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:37: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;
... | 143,203 |
Solution | public class Solution {
/** no use of extra space, but cannot solve matrix with negative elements. WA. */
public void setZeroes(int[][] matrix) {
int m = matrix.length;
if (m == 0) {
return;
}
int n = matrix[0].length;
if (n == 0) {
return;
}
for (int i = 1; i < m; i++) {
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:12:10 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 05:12: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;
... | 143,204 |
RepException | public class RepException extends RuntimeException {
public RepException() {
super();
}
public RepException(String message, Throwable cause) {
super(message, cause);
}
public RepException(String message) {
super(message);
}
public RepException(Throwable cause) {
super(cause);
}
}
| .version 52 0
.class public super RepException
.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 6
L4 7
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:05:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:05: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;
... | 143,205 |
EditDistance | /** Implementation of finding Edit Distance (Levenshtein distance) using dynamic programming */
public class EditDistance {
public int getEditDistance(String str1, String str2) {
int strLen1 = str1.length();
int strLen2 = str2.length();
Integer[][] costMatrix = new Integer[strLen1][strLen2];
for (int... | .version 52 0
.class public super EditDistance
.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
* Sat Jul 02 21:59: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 21:59: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;
... | 143,206 |
TypeConstraint | import java.util.*;
public abstract class TypeConstraint {
public abstract Object parseString(String value);
public Object fromString(String value) {
return fix(parseString(value));
}
public String toString(Object o) {
if (o == null) return null;
return o.toString();
}
public boolean typeMa... | .version 52 0
.class public super abstract TypeConstraint
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:34: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 10:34:18 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... | 143,207 |
Assert | /*
* MIT License
*
* Copyright (c) 2017 Peter Vaňušanik
*
* 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, ... | .version 52 0
.class public super Assert
.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 32
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:03:09 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 12:03: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;
... | 143,208 |
ExportRequest | import java.nio.file.Path;
import java.util.List;
public class ExportRequest {
private Path baseOutputPath;
private List<String> shaSumIds;
private List<String> pathFormats;
public ExportRequest() {}
public ExportRequest(Path baseOutputPath, List<String> shaSumIds, List<String> pathFormats) {
this.b... | .version 52 0
.class public super ExportRequest
.super java/lang/Object
.field private baseOutputPath Ljava/nio/file/Path;
.field private shaSumIds Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private pathFormats Ljava/util/List; .fieldattribut... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:05:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.nio.file.Path;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:05: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;
... | 143,209 |
TaxIdValidator | // ---------------------------------------------------------------------------------------
// ---------------------------------------------------------------------------------------
/**
* @author George Lamprakis
* @date Oct 28, 2013
* @author Vasilis Stergioulis
* @date Oct 31, 2013
* @version 1.0 more efficient... | .version 52 0
.class public super TaxIdValidator
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:29: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 03:29: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;
... | 143,210 |
ReentrancySpinLock | import java.util.concurrent.atomic.AtomicReference;
/** 可重入的自旋锁 User: <a href="mailto:yanmingming1989@163.com">严明明</a> Date: 15/6/3 Time: 下午9:14 */
public class ReentrancySpinLock {
private AtomicReference<Thread> owner = new AtomicReference<Thread>();
private int count = 0;
public void lock() {
Thread cur... | .version 52 0
.class public super ReentrancySpinLock
.super java/lang/Object
.field private owner Ljava/util/concurrent/atomic/AtomicReference; .fieldattributes
.signature Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Thread;>;
.end fieldattributes
.field private count I
.method public <init> : ()... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:47: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
* Mon Jul 04 16:47: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;
... | 143,211 |
CompareTwoNumbers | /**
* Compare Two Numbers Java Example This Compare Two Numbers Java Example shows how to compare two
* numbers using if else if statements.
*
* @author Keeyana Jones <keeyanajones@yahoo.com>
*/
public class CompareTwoNumbers {
public static void main(String[] args) {
// declare two numbers to compare
i... | .version 52 0
.class public super CompareTwoNumbers
.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 11
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:58:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:58:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,212 |
AccountTypeForMoveMethod | public class AccountTypeForMoveMethod {
private boolean isPremium;
public AccountTypeForMoveMethod(boolean isPremium) {
this.isPremium = isPremium;
}
public boolean IsPremium() {
return isPremium;
}
}
| .version 52 0
.class public super AccountTypeForMoveMethod
.super java/lang/Object
.field private isPremium Z
.method public <init> : (Z)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 AccountTypeForM... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:31: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
* Fri Jul 01 09:31: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;
... | 143,213 |
SearchCount | /** Search count display on web page */
public class SearchCount {
private int projectSearchId;
private int searchId;
private int count;
public int getSearchId() {
return searchId;
}
public void setSearchId(int searchId) {
this.searchId = searchId;
}
public int getCount() {
return count;... | .version 52 0
.class public super SearchCount
.super java/lang/Object
.field private projectSearchId I
.field private searchId I
.field private count I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:45: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
* Sat Jul 02 04:45: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;
... | 143,214 |
TreasureChest | import java.io.Closeable;
import java.io.IOException;
/** TreasureChest resource */
public class TreasureChest implements Closeable {
public TreasureChest() {
System.out.println("Treasure chest opens.");
}
@Override
public void close() throws IOException {
System.out.println("Treasure chest closes.")... | .version 52 0
.class public super TreasureChest
.super java/lang/Object
.implements java/io/Closeable
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: getstatic Field java/lang/System out Ljava/io/PrintStream;
L7: ldc '... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:27:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:27: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;
... | 143,215 |
Viewers | /**
* The contents of this file are subject to the license and copyright detailed in the LICENSE file
* at the root of the source tree and available online at
*
* <p>https://github.com/keeps/roda
*/
import java.io.Serializable;
import java.util.HashMap;
public class Viewers implements Serializable {
private sta... | .version 52 0
.class public super Viewers
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -2809811191632936028L
.field private pronoms Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
.end field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:03:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:03: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;
... | 143,216 |
CharsetUtils | /*
* ====================================================================
* 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
... | .version 52 0
.class public super CharsetUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 34
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:41:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import org.evosuite.runtime.EvoRunner;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:41:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,217 |
Polynome | /** */
public class Polynome {
private double[] coefficients;
public Polynome() {}
/**
* Construct a Polynome from coefficients
*
* @param incoeffs
*/
public Polynome(double[] incoeffs) {
this.setCoefficents(trimZeroElementsInArrayFromLeft(incoeffs));
}
/* getters */
public double[] g... | .version 52 0
.class public super Polynome
.super java/lang/Object
.field private coefficients [D
.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 14
.end li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:50:55 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 19:50:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,218 |
Main | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void visualizar(int[][] tablero) {
for (int i = 0; i < tablero.length; i++) {
for (int j = 0; j < tablero[0].length; j++) {
if (tablero[i][j] != 0) {
System.ou... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:12:30 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 07:12:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,219 |
EnumReader | public class EnumReader {
/**
* Finds the value of the given enumeration by name, case-insensitive. Throws an
* IllegalArgumentException if no match is found.
*/
public static <T extends Enum<T>> T parse(String name, Class<T> enumeration) {
for (T enumValue : enumeration.getEnumConstants()) {
i... | .version 52 0
.class public super EnumReader
.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 16:36:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.security.CryptoPrimitive;
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
* Sun Jul 03 16:36: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;
... | 143,220 |
Attachment | @Deprecated
public class Attachment {
private String name;
private String mimeType;
private byte[] content;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMimeType() {
return mimeType;
}
public void setMimeType(String... | .version 52 0
.class public super Attachment
.super java/lang/Object
.field private name Ljava/lang/String;
.field private mimeType Ljava/lang/String;
.field private content [B
.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
* Sat Jul 02 12:42: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
* Sat Jul 02 12:42: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;
... | 143,221 |
Exit | import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Exit implements ActionListener {
@Override
public void actionPerformed(ActionEvent actionEvent) {
System.exit(0);
}
}
| .version 52 0
.class public super Exit
.super java/lang/Object
.implements java/awt/event/ActionListener
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:17:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.event.ActionEvent;
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
* Mon Jul 04 12:17:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,222 |
NotFoundOrderPropertyException | public class NotFoundOrderPropertyException extends RuntimeException {
private static final long serialVersionUID = 5713481960634489780L;
public NotFoundOrderPropertyException() {}
public NotFoundOrderPropertyException(String msg) {
super(msg);
}
public NotFoundOrderPropertyException(String msg, Throw... | .version 52 0
.class public super NotFoundOrderPropertyException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 5713481960634489780L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:04:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:04: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;
... | 143,223 |
hey | public class hey {
public static void main(String[] args) {
System.out.println("bleh");
// a
// b
}
}
| .version 52 0
.class public super hey
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:52: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:52: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;
... | 143,224 |
PluginNotFoundException | /*
* Copyright 2016 ThoughtWorks, 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 agr... | .version 52 0
.class public super PluginNotFoundException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:16:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:16: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;
... | 143,225 |
QsongChapter1Question7 | // qsong: Do not read this until fully understand the comment on your code
public class QsongChapter1Question7 {
// Constant value used by program
public static int BUFFER_SIZE = 1000;
// Main function
public static void main(String[] args) throws Exception {
int[][] matrix = {
{1, 2, 3, 4, 5},
... | .version 52 0
.class public super QsongChapter1Question7
.super java/lang/Object
.field public static BUFFER_SIZE 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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:30:58 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 06:30: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;
... | 143,226 |
ClassAnnotationPair | /*
* 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 ... | .version 52 0
.class public super ClassAnnotationPair
.super java/lang/Object
.field private final clazz Ljava/lang/Class; .fieldattributes
.signature Ljava/lang/Class<*>;
.end fieldattributes
.field private final annotations [Ljava/lang/Class; .fieldattributes
.signature [Ljava/lang/Class<+Ljava/lang/an... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:25:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.lang.annotation.Annotation;
import java.lang.reflect.Array;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:25:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,227 |
LectureTime | import java.util.Date;
public class LectureTime implements Comparable<LectureTime> {
private int period;
private int lectureId;
private Date startTime;
private Date endTime;
public int getPeriod() {
return period;
}
public void setPeriod(int period) {
this.period = period;
}
public int ge... | .version 52 0
.class public super LectureTime
.super java/lang/Object
.implements java/lang/Comparable
.field private period I
.field private lectureId I
.field private startTime Ljava/util/Date;
.field private endTime Ljava/util/Date;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:13:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:13: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;
... | 143,228 |
Name | public class Name {
public final String obfuscated;
public final String forgefuscated;
public final String deobfuscated;
public Name(String name) {
this(name, null);
}
public Name(String deobfuscatedName, String obfuscatedName) {
this(deobfuscatedName, null, obfuscatedName);
}
public Name(Str... | .version 52 0
.class public super Name
.super java/lang/Object
.field public final obfuscated Ljava/lang/String;
.field public final forgefuscated Ljava/lang/String;
.field public final deobfuscated Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:00:29 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 20:00:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,229 |
AiravataConfig | import java.io.IOException;
import java.util.Properties;
public class AiravataConfig {
public static final String GATEWAY = "gateway";
public static String getProperty(String key) {
Properties prop = new Properties();
try {
prop.load(AiravataConfig.class.getClassLoader().getResourceAsStream("airavat... | .version 52 0
.class public super AiravataConfig
.super java/lang/Object
.field public static final GATEWAY Ljava/lang/String; = 'gateway'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:52:50 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:52: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;
... | 143,230 |
Constant | public class Constant {
public static final int studentStatus = 0; // 表示学生
public static final int teacherStatus = 1; // 表示教师
}
| .version 52 0
.class public super Constant
.super java/lang/Object
.field public static final studentStatus I = 0
.field public static final teacherStatus I = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:00: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 11:00: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;
... | 143,231 |
VolatileDemo | import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class VolatileDemo {
private Lock lock = new ReentrantLock();
private volatile int num = 0; // 不能保证原子性
private int num2 = 0;
private int number = 0;
public int getNum() {
return this.num;
}
public int g... | .version 52 0
.class public super VolatileDemo
.super java/lang/Object
.field private lock Ljava/util/concurrent/locks/Lock;
.field private volatile num I
.field private num2 I
.field private number I
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lan... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:49:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:49: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;
... | 143,232 |
SimpleCharStream | /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 4.1 */
/* JavaCCOptions:STATIC=true */
/**
* An implementation of interface CharStream, where the stream is assumed to contain only ASCII
* characters (without unicode processing).
*/
public class SimpleCharStream {
/** Whether parser is... | .version 52 0
.class public super SimpleCharStream
.super java/lang/Object
.field public static final staticFlag Z = 1
.field static bufsize I
.field static available I
.field static tokenBegin I
.field public static bufpos I
.field protected static bufline [I
.field protected static bufcolumn [I
.field prote... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:43:05 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.BufferedInputStream;
import java.io.ByteArray... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:43: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;
... | 143,233 |
Runner | import java.util.Random;
import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.TimeUnit;
public class Runner implements Runnable {
private CyclicBarrier barrier;
private String name;
public Runner(CyclicBarrier barrier, String name) {
sup... | .version 52 0
.class public super Runner
.super java/lang/Object
.implements java/lang/Runnable
.field private barrier Ljava/util/concurrent/CyclicBarrier;
.field private name Ljava/lang/String;
.method public <init> : (Ljava/util/concurrent/CyclicBarrier;Ljava/lang/String;)V
.code stack 2 locals 3
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:11:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.CyclicBarrier;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:11:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,234 |
ParseException | /*
* Copyright 2014 Aritz Lopez
*
* 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 la... | .version 52 0
.class public super ParseException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;Ljav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:35:48 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 10:35: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;
... | 143,235 |
TileCoordinate | public class TileCoordinate {
private int x, y;
private final int TILE_SIZE = 16;
public TileCoordinate(int x, int y) {
this.x = x * TILE_SIZE;
this.y = y * TILE_SIZE;
}
public int x() {
return x;
}
public int y() {
return y;
}
public int[] xy() {
int[] r = new int[2];
r[0... | .version 52 0
.class public super TileCoordinate
.super java/lang/Object
.field private x I
.field private y I
.field private final TILE_SIZE I = 16
.method public <init> : (II)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: bipus... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:56:29 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:56:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,236 |
NoSuchServerException | public class NoSuchServerException extends RuntimeException {
private static final long serialVersionUID = 8636572444914728550L;
}
| .version 52 0
.class public super NoSuchServerException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 8636572444914728550L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:22:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:22: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;
... | 143,237 |
A0500UserMDto | /**
* @author LUSuo(atealxt@gmail.com)
*/
public class A0500UserMDto {
protected String id;
protected String uid;
protected String uname;
protected String ip;
protected String iden;
protected String grop;
protected String role;
protected String status;
public String getGrop() {
return grop;
... | .version 52 0
.class public super A0500UserMDto
.super java/lang/Object
.field protected id Ljava/lang/String;
.field protected uid Ljava/lang/String;
.field protected uname Ljava/lang/String;
.field protected ip Ljava/lang/String;
.field protected iden Ljava/lang/String;
.field protected grop Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:10:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:10:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,238 |
Utils | public class Utils {
public static boolean isNumeric(String str) {
try {
double d = Double.parseDouble(str);
} catch (NumberFormatException nfe) {
return false;
}
return true;
}
}
| .version 52 0
.class public super Utils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:56:16 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:56: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;
... | 143,239 |
Structure | /***********************************************************************
*
* 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 Structure
.super java/lang/Object
.field public Gene [D
.field public n_genes I
.field public Perf D
.field public n_e 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_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:16: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
* Sat Jul 02 14:16: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;
... | 143,240 |
ZeroSumContinuousSubarray | import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/*
* http://www.careercup.com/question?id=5172027535130624
*
* this problem can be extended to this:
* is there a continuous subarray that sums up to K?
*/
public class ZeroSumContinuousSuba... | .version 52 0
.class public super ZeroSumContinuousSubarray
.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 15
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:12: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 07:12: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;
... | 143,241 |
PassingAttribute | /**
* The final attribute which comes to the nodes for defining errors and split
*
* @author Janakiraman
*/
public class PassingAttribute {
private String attrName;
private Integer attrIndex;
private String splitMode;
private String attrCondition;
private Double errorSplit;
private Double cntnsValue;
... | .version 52 0
.class public super PassingAttribute
.super java/lang/Object
.field private attrName Ljava/lang/String;
.field private attrIndex Ljava/lang/Integer;
.field private splitMode Ljava/lang/String;
.field private attrCondition Ljava/lang/String;
.field private errorSplit Ljava/lang/Double;
.field priva... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:05: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
* Sat Jul 02 21:05: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;
... | 143,242 |
TestTermRecognizer | /**
* Linkipedia, Copyright (c) 2015 Tetherless World Constellation
*
* <p>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 option) any later versi... | .version 52 0
.class public super TestTermRecognizer
.super java/lang/Object
.field static gnext 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 22
.end l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:55:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
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 15:55: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;
... | 143,243 |
O42 | import java.util.Scanner;
public class O42 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
int a = scn.nextInt();
for (int i = 0; i < a; i++) {
for (int j = 0; j < a; j++) {
System.out.print("*");
}
System.... | .version 52 0
.class public super O42
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:19:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:19: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;
... | 143,244 |
Limiter | /*
* Copyright (C) 2011 Christopher Eby <kreed@kreed.org>
*
* 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, ... | .version 52 0
.class public super Limiter
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -4729694243900202614L
.field public final type I
.field public final names [Ljava/lang/String;
.field public final data Ljava/lang/Object;
.method public <init> : ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:26:16 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:26: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;
... | 143,245 |
AbstractOdataAnnotation | /*******************************************************************************
* Copyright © Temenos Headquarters SA 1993-2019. All rights reserved.
*******************************************************************************/
/**
* All Term which can be used as annotations should extend this class
*
* @aut... | .version 52 0
.class public super abstract AbstractOdataAnnotation
.super java/lang/Object
.field public static final NAMESPACE Ljava/lang/String; = 'http://iris.temenos.com/odata-extensions'
.field public static final PREFIX Ljava/lang/String; = 'iris-ext'
.method public <init> : ()V
.code stack 1 locals 1 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:45:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:45:10 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... | 143,246 |
Question4ALSBdjDistante | public class Question4ALSBdjDistante {
private Integer seq;
private String question;
private String reponse;
/** */
public Question4ALSBdjDistante() {
super();
}
/**
* @param seq
* @param question
* @param reponse
*/
public Question4ALSBdjDistante(Integer seq, String question, Strin... | .version 52 0
.class public super Question4ALSBdjDistante
.super java/lang/Object
.field private seq Ljava/lang/Integer;
.field private question Ljava/lang/String;
.field private reponse Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:20: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
* Sat Jul 02 04:20: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;
... | 143,247 |
Constants | /*
* Created on Nov 30, 2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
/**
*
* <!-- LICENSE_TEXT_START -->
* The NCICB Common Security Module (CSM) Software License, Version 3.0 Copyright 2004-2005 Ekagra
* Software Technologie... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final INITIAL_CONTEXT Ljava/lang/String; = 'com.sun.jndi.ldap.LdapCtxFactory'
.field public static final LDAP_HOST Ljava/lang/String; = 'ldapHost'
.field public static final LDAP_SEARCHABLE_BASE Ljava/lang/String; = 'ldapSearc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:45:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:45: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;
... | 143,248 |
PackageLocation | /*
* Copyright 2013 Brian Matthews
*
* 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 ag... | .version 52 0
.class public super PackageLocation
.super java/lang/Object
.field private name Ljava/lang/String;
.field private url 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 01:15: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
* Mon Jul 04 01:15: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;
... | 143,249 |
CommonProxy | public class CommonProxy {
public void init() {}
}
| .version 52 0
.class public super CommonProxy
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:23:23 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:23:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,250 |
UserParameter | /*
* User manager.
* Copyright (C) 2013 Pal Hargitai (pal@lunarray.org)
*
* 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 Software Foundation, either version 3 of the
* License, or (at your option) any... | .version 52 0
.class public final super UserParameter
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 7442472636577265010L
.field private userId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:22:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:22:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,251 |
ArrayUtils | import java.util.ArrayList;
import java.util.List;
public class ArrayUtils {
/**
* Remove an element from array.
*
* @param array
* @param element
* @param occurrences 0 for all or the maximum number of occurences to remove.
* @return
*/
public static String[] removeElement(String array[], St... | .version 52 0
.class public super ArrayUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:53:57 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 16:53: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;
... | 143,252 |
HttpSessionId | public class HttpSessionId {
public static String getSessionId(String uri) {
int sessionIndex = uri.indexOf("/session/");
if (sessionIndex != -1) {
sessionIndex += "/session/".length();
int nextSlash = uri.indexOf("/", sessionIndex);
if (nextSlash != -1) {
return uri.substring(sessio... | .version 52 0
.class public super HttpSessionId
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:19:29 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:19:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,253 |
TextureData | /* Copyright 2014 - 2015 Matthew Rogers "BossLetsPlays"
*
* 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 require... | .version 52 0
.class public super TextureData
.super java/lang/Object
.field private width I
.field private height I
.field private buffer Ljava/nio/ByteBuffer;
.method public <init> : (IILjava/nio/ByteBuffer;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:21:44 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
* Sat Jul 02 08: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;
... | 143,254 |
TypeUtil | import java.lang.reflect.ParameterizedType;
/** Created by Rock on 16/11/28. */
public class TypeUtil {
public static <T> T getTypeObject(Object o, int i) {
try {
return ((Class<T>)
((ParameterizedType) (o.getClass().getGenericSuperclass()))
.getActualTypeArguments()[i])
... | .version 52 0
.class public super TypeUtil
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:01:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:01: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;
... | 143,255 |
Percolation | import java.util.Random;
public class Percolation {
// FIELD VALUES
private static final short BLOCKED = 0;
private static final short OPEN = 1;
private static final short FULL = 2;
// top and bottom sources
private int topId;
private int bottomId;
private short[] gameField;
private int[] id;
pr... | .version 52 0
.class public super Percolation
.super java/lang/Object
.field private static final BLOCKED S = 0
.field private static final OPEN S = 1
.field private static final FULL S = 2
.field private topId I
.field private bottomId I
.field private gameField [S
.field private id [I
.field private N I
.f... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:39:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:39: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;
... | 143,256 |
GouLv | import java.util.ArrayList;
import java.util.List;
public class GouLv {
public static void main(String[] args) throws Exception {
List<String> urls = new ArrayList<String>();
urls.add("http://www.baidu.com");
urls.add("http:/#/www.baidu.com");
urls.add("http://www#.zxitb.com");
urls.add("http://w... | .version 52 0
.class public super GouLv
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:31: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 03:31: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;
... | 143,257 |
MalformedQueryException | public class MalformedQueryException extends Exception {
private static final long serialVersionUID = 9173935812541082013L;
private String query;
public MalformedQueryException(String query) {
this.query = query;
}
@Override
public String getMessage() {
return "MalformedQueryException was thrown ... | .version 52 0
.class public super MalformedQueryException
.super java/lang/Exception
.field private static final serialVersionUID J = 9173935812541082013L
.field private query Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:51: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
* Sun Jul 03 15:51: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;
... | 143,258 |
BaseModel | /** beans基础类 Created by WeiBo on 14/12/11. */
public class BaseModel {
/** 是否成功 */
private boolean isSuccess;
/** 扩展数据 */
private String extdata;
/** data数据 */
private String data;
/**
* @return 是否成功
*/
public boolean isSuccess() {
return isSuccess;
}
/**
* @param isSuccess 是否成功
*... | .version 52 0
.class public super BaseModel
.super java/lang/Object
.field private isSuccess Z
.field private extdata Ljava/lang/String;
.field private data Ljava/lang/String;
.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
* Sat Jul 02 00:40:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:40: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;
... | 143,259 |
PercentEncoder | import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
public class PercentEncoder {
public static final String ENCODING = "UTF-8";
public static String encode(String s) {
if (s == null) {
return "";
}
try {
return URLEncoder.encode(s, ENCODING)
// OAuth encode... | .version 52 0
.class public super PercentEncoder
.super java/lang/Object
.field public static final ENCODING Ljava/lang/String; = 'UTF-8'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:04:28 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:04:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,260 |
PositionOfRightmostSetBit | public class PositionOfRightmostSetBit {
/*
Write a one line function to return position of first 1 from right to left, in binary representation of an Integer.
I/P 18, Binary Representation 010010
O/P 2
I/P 19, Binary Representation 010011
O/P 1
*/
public static int positionOfR... | .version 52 0
.class public super PositionOfRightmostSetBit
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:36:30 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:36:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,261 |
TestIllegalISO2022Esc | /*
* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super TestIllegalISO2022Esc
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:29:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:29: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;
... | 143,262 |
TrisTableau | public class TrisTableau {
/** Variable globale, compteur du nombre d'operations */
long cpt = 0;
/** La methode principale */
void principal() {
// testRemplacerAuHasard();
// testRechercheSeq();
// testRechercheDicho();
// testVerifTri();
// testTriSimple();
// testSeparer();
// t... | .version 52 0
.class public super TrisTableau
.super java/lang/Object
.field cpt J
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lconst_0
L6: putfield Field TrisTableau cpt J
L9: return
L10: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:59:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:59: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;
... | 143,263 |
OESCompressedETC1RGB8Texture | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
/**
* Native bindings to the <a
* href="https://www.khronos.org/registry/gles/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt">OES_compressed_ETC1_RGB8_texture</a>
* extension.
... | .version 52 0
.class public final super OESCompressedETC1RGB8Texture
.super java/lang/Object
.field public static final GL_ETC1_RGB8_OES I = 36196
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:35:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:35:20 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... | 143,264 |
ProfessorJaExisteNomeException | public class ProfessorJaExisteNomeException extends Exception {
private String nome;
public ProfessorJaExisteNomeException(String nome) {
super(
"O nome do professor do professor não pode ser atualizado porque já existe um professor de"
+ " nome"
+ nome);
this.nome = nome;
... | .version 52 0
.class public super ProfessorJaExisteNomeException
.super java/lang/Exception
.field private nome Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:08:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:08: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;
... | 143,265 |
PertinentAxis | /*
* Copyright (C) 2000 - 2018 Silverpeas
*
* 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 Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | .version 52 0
.class public super PertinentAxis
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -7770062847586756429L
.field private nAxisId I
.field private nbObjects I
.field private sRootValue Ljava/lang/String;
.method public <init> : ()V
.code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:15: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 13:15: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;
... | 143,266 |
CategoriesDto | /** Created by whoami on 05/05/2017. */
public class CategoriesDto {
private Integer id;
private String name;
private Integer count;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(S... | .version 52 0
.class public super CategoriesDto
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private name Ljava/lang/String;
.field private count Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:52: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 02:52: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;
... | 143,267 |
VectorSpaceArgumentException | /*
c VectorSpaceArgumentException.java
c
c Copyright (C) 2000, 2007 Kurt Motekew
c
c This library is free software; you can redistribute it and/or
c modify it under the terms of the GNU Lesser General Public
c License as published by the Free Software Foundation; either
c version 2.1 of the License, or (at your o... | .version 52 0
.class public super VectorSpaceArgumentException
.super java/lang/IllegalArgumentException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/IllegalArgumentException <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:45:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:45:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,268 |
MoneyUtil | /**
* 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 MoneyUtil
.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 36
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:57: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 10:57: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;
... | 143,269 |
GlobalConflictCounter | import java.util.concurrent.atomic.AtomicLong;
/**
* The GlobalConflictCounter is used as a mechanism for guaranteeing read consistency. Depending on
* the configuration of the transaction, if a transaction does a read, it also makes the read semi
* visible (only the number of readers are interesting and not the ac... | .version 52 0
.class public final super GlobalConflictCounter
.super java/lang/Object
.field private final counter Ljava/util/concurrent/atomic/AtomicLong;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ne... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:55:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:55: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;
... | 143,270 |
SmallestMultiple | import java.util.*;
public class SmallestMultiple {
public static long gcd(long a, long b) {
while (b > 0) {
long x = a % b;
a = b;
b = x;
}
return a;
}
public static long getSmallestMultiple(long n) {
long res = 1;
for (long i = 2; i <= n; i++) {
res = (i * (res)) /... | .version 52 0
.class public super SmallestMultiple
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:24:10 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
* Sun Jul 03 19:24: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;
... | 143,271 |
PalindromeDoneRight | /**
* Write a description of class PalindromeDoneRight here.
*
* @author Matthew Cheng
* @version 1337
*/
import java.util.Scanner;
public class PalindromeDoneRight {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String another = "y";
while (another.equalsIgnoreCas... | .version 52 0
.class public super PalindromeDoneRight
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:38:49 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
* Fri Jul 01 17:38: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;
... | 143,272 |
Enum4 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2010 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | .version 52 0
.class public super Enum4
.super java/lang/Object
.implements java/lang/Comparable
.field private final _name Ljava/lang/String;
.field private final _ordinal I
.method protected <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:25:56 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:25: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;
... | 143,273 |
TestPathUtil | /*
* Copyright (c) 2014 Reto Merz
*/
import java.io.File;
import java.io.IOException;
public final class TestPathUtil {
private static final String VERSION = "1.0-SNAPSHOT";
private TestPathUtil() {}
private static File getTestSuitePath() {
return new File(new File(".").getAbsoluteFile().getParentFile(... | .version 52 0
.class public final super TestPathUtil
.super java/lang/Object
.field private static final VERSION Ljava/lang/String; = '1.0-SNAPSHOT'
.method private <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:01:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) ... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:01:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,274 |
Command | /** Created by calber on 28/2/16. */
public class Command {}
| .version 52 0
.class public super Command
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:38:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:38:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,275 |
TableReference | /**
* 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 TableReference
.super java/lang/Object
.field private destTable Ljava/lang/String;
.field private destColumn 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
* Sun Jul 03 20:28:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:28: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;
... | 143,276 |
StorageHelper | /*
* Clover - 4chan browser https://github.com/Floens/Clover/
* Copyright (C) 2014 Floens
*
* 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... | .version 52 0
.class public super StorageHelper
.super java/lang/Object
.field private static final TAG Ljava/lang/String; = 'StorageHelper'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:28:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:28: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;
... | 143,277 |
PixelSorter | /*
* File: PixelSorter.java
* Author: Dylan Tobia
* Purpose: Sort a an images pixels in each row, and return this as a new file.
*
*/
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
public class PixelSorter {
// variable for storing the... | .version 52 0
.class public super PixelSorter
.super java/lang/Object
.field private image Ljava/awt/image/BufferedImage;
.method public <init> : (Ljava/awt/image/BufferedImage;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:47:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.image.BufferedImage;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:47: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;
... | 143,278 |
ImplicitExplicitException | /**
* Copyright (C) 2010-2017 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 General Public License as published by the Free Software Foundation, either vers... | .version 52 0
.class public super ImplicitExplicitException
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
L4 26
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:25:28 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 19:25:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,279 |
AdminOrderSearchRequest | import java.io.Serializable;
public class AdminOrderSearchRequest implements Serializable {
/** */
private static final long serialVersionUID = 5244532094108114729L;
private String searchBy;
private String searchstring;
public String getSearchBy() {
return searchBy;
}
public void setSearchBy(Stri... | .version 52 0
.class public super AdminOrderSearchRequest
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 5244532094108114729L
.field private searchBy Ljava/lang/String;
.field private searchstring Ljava/lang/String;
.method public <init> : ()V
.cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:26:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:26: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;
... | 143,280 |
RaisingModuloNumber | /** Created by ZHEN on 7/18/2016. */
public class RaisingModuloNumber {
public static void main(String[] args) {
long start = System.currentTimeMillis();
RaisingModuloNumber rm = new RaisingModuloNumber();
for (int i = 100; i < 100000; i++) {
rm.powNormal(2, 50);
}
System.out.println((Syste... | .version 52 0
.class public super RaisingModuloNumber
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:53:11 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:53: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;
... | 143,281 |
KthCharAftrDecrypt | /** */
/**
* @author Kushal Roy
* <p>https://www.geeksforgeeks.org/program-to-find-the-kth-character-after-decrypting-a-string/
*/
public class KthCharAftrDecrypt {
public static char findKthChar(String str, int k) {
int count = 0;
int i = 0;
while (i < str.length()) {
if (Character.isAl... | .version 52 0
.class public super KthCharAftrDecrypt
.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 11
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:15:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:15: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;
... | 143,282 |
XmiBadAttributeException | /*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | .version 52 0
.class final super XmiBadAttributeException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -4938178032912350951L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:18:40 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:18: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;
... | 143,283 |
MineListBean | import java.io.Serializable;
/** Created by houwen.lai on 2016/10/25. 我的 列表 */
public class MineListBean implements Serializable {
private int resId;
private String title;
private String time;
private String context;
private String textbtn;
public MineListBean() {
super();
}
public MineListBean(... | .version 52 0
.class public super MineListBean
.super java/lang/Object
.implements java/io/Serializable
.field private resId I
.field private title Ljava/lang/String;
.field private time Ljava/lang/String;
.field private context Ljava/lang/String;
.field private textbtn Ljava/lang/String;
.method public <init... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:14: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
* Sat Jul 02 15:14: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;
... | 143,284 |
AbLevelSeries | /*
* Copyright (C) 2012 www.amsoft.cn
*
* 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 agre... | .version 52 0
.class public super AbLevelSeries
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.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 20:09: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
* Sun Jul 03 20:09: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;
... | 143,285 |
CustomerStats | /***
* Copyright (c) 2017 CommonsWare, LLC
* 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 w... | .version 52 0
.class public super CustomerStats
.super java/lang/Object
.field public final count I
.field public final max Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
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 07:02:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:02: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;
... | 143,286 |
UtilDate | import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;
/* *
*类名:UtilDate
*功能:自定义订单类
*详细:工具类,可以用作获取系统日期、订单编号等
*版本:3.3
*日期:2012-08-17
*说明:
*以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
*该代码仅供学习和研究支付宝接口使用,只是提供一个参考。
*/
public class UtilDate {
... | .version 52 0
.class public super UtilDate
.super java/lang/Object
.field public static final dtLong Ljava/lang/String; = 'yyyyMMddHHmmss'
.field public static final simple Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field public static final dtShort Ljava/lang/String; = 'yyyyMMdd'
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:31:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:31: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;
... | 143,287 |
ServiceType | import java.util.HashMap;
import java.util.Map;
public class ServiceType {
private String uri;
private Map<String, String> labels;
public ServiceType() {
setLabels(new HashMap<String, String>());
}
public String getUri() {
return uri;
}
public void setUri(String uri) {
this.uri = uri;
}... | .version 52 0
.class public super ServiceType
.super java/lang/Object
.field private uri Ljava/lang/String;
.field private labels Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:59:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:59: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;
... | 143,288 |
ReactInvalidPropertyException | /**
* Copyright (c) 2015-present, Facebook, Inc.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
public class ReactInvalidPropertyException extends RuntimeException {
public ReactInvalidPropertyException(String property, String ... | .version 52 0
.class public super ReactInvalidPropertyException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 3 locals 4
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/S... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:19:53 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 05:19: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;
... | 143,289 |
MessageStrings | /*
* Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* For details, see the LICENCE.txt file location in the root directory of this
* distribution or obtain the Ap... | .version 52 0
.class public super MessageStrings
.super java/lang/Object
.field public static TXT_COULDNT_GET_LOCALHOSTNAME Ljava/lang/String;
.field public static TXT_GLOBAL_PASSIVE_MODE Ljava/lang/String;
.field public static TXT_PASSIVE_MODE_OVERRIDDEN Ljava/lang/String;
.field public static TXT_SKIP_FLOPPY_SC... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:51:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:51: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;
... | 143,290 |
StringUtils | /** Created by qiuyouzone on 2017/9/29. */
public final class StringUtils {
private StringUtils() {
throw new UnsupportedOperationException("u can't instantiate me...");
}
/**
* 判断字符串是否为null或长度为0
*
* @param s 待校验字符串
* @return {@code true}: 空<br>
* {@code false}: 不为空
*/
public static b... | .version 52 0
.class public final super StringUtils
.super java/lang/Object
.method private <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/lang/UnsupportedOperationException
L7: dup
L8: ldc "u can't instantiate me..."
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:51:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.CharBuffer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:51:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,291 |
Handle | /***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... | .version 52 0
.class public final super Handle
.super java/lang/Object
.field final tag I
.field final owner Ljava/lang/String;
.field final name Ljava/lang/String;
.field final desc Ljava/lang/String;
.method public <init> : (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 5... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:07: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
* Sat Jul 02 03:07: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;
... | 143,292 |
UserRoleId | public class UserRoleId {
private String userId;
private String roleId;
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRoleId() {
return roleId;
}
public void setRoleId(String roleId) {
this.roleId = rol... | .version 52 0
.class public super UserRoleId
.super java/lang/Object
.field private userId Ljava/lang/String;
.field private roleId 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 04:53:28 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:53:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,293 |
Token | /**
* 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 Token
.super java/lang/Object
.field private index I
.field private token Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:06: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
* Sat Jul 02 10:06: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;
... | 143,294 |
AlgorithmSpec | /*
$Id: AlgorithmSpec.java 2744 2013-06-25 20:20:29Z dfisher $
Copyright (C) 2003-2013 Virginia Tech.
All rights reserved.
SEE LICENSE FOR MORE INFORMATION
Author: Middleware Services
Email: middleware@vt.edu
Version: $Revision: 2744 $
Updated: $Date: 2013-06-25 22:20:29 +0200 (Tue, 25 Jun 2013) $... | .version 52 0
.class public super AlgorithmSpec
.super java/lang/Object
.field private name Ljava/lang/String;
.field private mode Ljava/lang/String;
.field private padding Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:33: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 04:33: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;
... | 143,295 |
PluginInfo | /**
* @author Cristian del Cerro
*/
public class PluginInfo {
String name;
String version;
public PluginInfo(String name, String version) {
this.name = name;
this.version = version;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
... | .version 52 0
.class public super PluginInfo
.super java/lang/Object
.field name Ljava/lang/String;
.field version Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aloa... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:09: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
* Sat Jul 02 06:09: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;
... | 143,296 |
ResourceNotFoundException | public class ResourceNotFoundException extends RuntimeException {
private static final long serialVersionUID = 7084957514695533766L;
public ResourceNotFoundException(Throwable cause) {
super(cause);
}
}
| .version 52 0
.class public super ResourceNotFoundException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 7084957514695533766L
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:10: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
* Sat Jul 02 10:10: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;
... | 143,297 |
ProtocolConstants | public final class ProtocolConstants {
public static final int PACKET_SIZE_BYTE = -1;
public static final int PACKET_SIZE_SHORT = -2;
// TODO: Refactor out the giant arrays (config file?)
public static final int[] INCOMING_PACKET_LENGTHS = {
0, 0, 0, 1, -1, 0, 0, 0, 0, 0, // 0
0, 0, 0, 0, 1, 0, -1, 0,... | .version 52 0
.class public final super ProtocolConstants
.super java/lang/Object
.field public static final PACKET_SIZE_BYTE I = -1
.field public static final PACKET_SIZE_SHORT I = -2
.field public static final INCOMING_PACKET_LENGTHS [I
.field public static final OUTGOING_PACKET_SIZES [I
.method public <init>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:48: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
* Mon Jul 04 14:48: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;
... | 143,298 |
SignStatus | /** Created by lisongting on 2017/9/12. 用与人脸打卡功能,用来描述是否人脸识别完成 */
public class SignStatus {
// 是否识别完成
private boolean isComplete;
// 是否识别出已注册的用户
private boolean isRecogSuccess;
public SignStatus(boolean isComplete, boolean isRecogSuccess) {
this.isComplete = isComplete;
this.isRecogSuccess = isRecog... | .version 52 0
.class public super SignStatus
.super java/lang/Object
.field private isComplete Z
.field private isRecogSuccess Z
.method public <init> : (ZZ)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:12: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
* Sat Jul 02 17:12: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;
... | 143,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.