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 |
|---|---|---|---|---|---|
WSDLSimpleType | /*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | .version 52 0
.class public super WSDLSimpleType
.super java/lang/Object
.field private name Ljava/lang/String;
.field private type Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:38:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:38: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;
... | 147,800 |
TemplateParameter | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super TemplateParameter
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private parameterKey Ljava/lang/String;
.field private defaultValue Ljava/lang/String;
.field private noEcho Ljava/lang/Boolean;
.field private description Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:53:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:53: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;
... | 147,801 |
SQLConstant | public class SQLConstant {
public static String SQL_GET_DISH_CATEGORY_LIST_BY_BRANCH_ID =
"select dCat.dish_category_id, dCat.dish_category_name from branch br, branch_menu brMn,"
+ " dish_category dCat where br.branch_id = brMn.branch_id and brMn.dish_category_id ="
+ " dCat.dish_category_i... | .version 52 0
.class public super SQLConstant
.super java/lang/Object
.field public static SQL_GET_DISH_CATEGORY_LIST_BY_BRANCH_ID Ljava/lang/String;
.field public static SQL_GET_DISH_LIST_BY_CATEGORY_ID_AND_BRANCH_ID Ljava/lang/String;
.field public static SQL_GET_FULL_DISH_INFO_BY_DISH_ID_AND_BRANCH_ID Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:53:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:53:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,802 |
SignInMethodQueryResult | /*
* Copyright 2017 Google 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 ... | .version 52 0
.class public final super SignInMethodQueryResult
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:29:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:29: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;
... | 147,803 |
IPLocModel | /*
* Copyright 2010-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | .version 52 0
.class public super IPLocModel
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 7481666725015542455L
.field private id Ljava/lang/Integer;
.field private ip Ljava/lang/String;
.field private loc Ljava/lang/String;
.field private total I
.m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:18:59 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:18: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;
... | 147,804 |
MtpObjectInfo | /*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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... | .version 52 0
.class public final super MtpObjectInfo
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 30
L4 31
.end lin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:29:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:29:25 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... | 147,805 |
TerracerRuntimeException | // License: GPL. For details, see LICENSE file.
/**
* The Class TerracerRuntimeException indicates errors from the Terracer Plugin.
*
* @author casualwalker - Copyright 2009 CloudMade Ltd
*/
public class TerracerRuntimeException extends RuntimeException {
/** Default constructor. */
public TerracerRuntimeExce... | .version 52 0
.class public super TerracerRuntimeException
.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 15
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:08:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:08: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;
... | 147,806 |
VerbsList | /*
Copyright © 2014 Daniel Boulet
*/
import java.util.*;
/**
* A randomized verb picker.
*
* <p>This list of verbs 'borrowed' from http://www.momswhothink.com/reading/list-of-verbs.html
*/
@SuppressWarnings("UnusedDeclaration")
public class VerbsList {
private static Random s_rng = new Random(System.currentTim... | .version 52 0
.class public super VerbsList
.super java/lang/Object
.field private static s_rng Ljava/util/Random;
.field private static s_available Ljava/util/Vector; .fieldattributes
.signature Ljava/util/Vector<Ljava/lang/String;>;
.end fieldattributes
.field private static s_iteration I
.field private s... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:49:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.SortedSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:49: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;
... | 147,807 |
AbstractSuper | public abstract class AbstractSuper {
// 实体方法
protected void methodA() {
System.out.println("call AbstractSuper methodA");
}
// 抽象方法
protected abstract void methodB();
public AbstractSuper() {
// TODO Auto-generated constructor stub
}
}
| .version 52 0
.class public super abstract AbstractSuper
.super java/lang/Object
.method protected methodA : ()V
.code stack 2 locals 1
L0: getstatic Field java/lang/System out Ljava/io/PrintStream;
L3: ldc 'call AbstractSuper methodA'
L5: invokevirtual Method java/io/PrintStream println (Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:51:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:51:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 147,808 |
RegexRule | /**
* Licensed to DigitalPebble Ltd under one or more contributor license agreements. See the NOTICE
* file distributed with this work for additional information regarding copyright ownership.
* DigitalPebble licenses this file to You under the Apache License, Version 2.0 (the "License");
* you may not use this fil... | .version 52 0
.class public super abstract RegexRule
.super java/lang/Object
.field private final sign Z
.method protected <init> : (ZLjava/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: putfield Field... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:37: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
* Fri Jul 01 02:37:53 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... | 147,809 |
ChunkyPixel | /*
* #%L
* SLIM Curve plugin for combined spectral-lifetime image analysis.
* %%
* Copyright (C) 2010 - 2015 Board of Regents of the University of
* Wisconsin-Madison.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* publish... | .version 52 0
.class public super ChunkyPixel
.super java/lang/Object
.field final _x I
.field final _y I
.field final _width I
.field final _height I
.field _inputLocation [I
.field _outputLocation [I
.method public <init> : (IIII)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:44:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:44:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,810 |
PlayerStat | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author i028512
*/
public class PlayerStat {
private Integer fou_fo; // "4",
private String photourl; // "",
private St... | .version 52 0
.class public super PlayerStat
.super java/lang/Object
.field private fou_fo Ljava/lang/Integer;
.field private photourl Ljava/lang/String;
.field private fname Ljava/lang/String;
.field private fg_m Ljava/lang/Integer;
.field private ft_pc Ljava/lang/Integer;
.field private mins Ljava/lang/Intege... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:48: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 22:48: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;
... | 147,811 |
Point |
/** Realises calculation of a distance between two points. */
public class Point {
/** This class defines point placement on area */
public double x;
public double y;
public Point(double x, double y) {
this.x = x;
this.y = y;
}
public double distanceTo(Point point) {
/** This method calculat... | .version 52 0
.class public super Point
.super java/lang/Object
.field public x D
.field public y D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Point x D
L9: aloa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:25:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:25: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;
... | 147,812 |
DateUtils | /*
* Copyright (c) 2014, the SenSee authors. Please see the AUTHORS file
* for details.
*
* Licensed under the GNU Public License, Version 3.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.gnu.org/copyleft/gpl.htm... | .version 52 0
.class public super DateUtils
.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 26
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:16:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:16: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;
... | 147,813 |
UpdateFriendsForm | public class UpdateFriendsForm {
private String[] phoneNumbers;
public UpdateFriendsForm() {}
public UpdateFriendsForm(String[] phoneNumbers) {
this.phoneNumbers = phoneNumbers;
}
public String[] getPhoneNumbers() {
return phoneNumbers;
}
public void setPhoneNumbers(String[] phoneNumbers) {
... | .version 52 0
.class public super UpdateFriendsForm
.super java/lang/Object
.field private phoneNumbers [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:16: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
* Fri Jul 01 17:16: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;
... | 147,814 |
PropertyLayer | public class PropertyLayer {
private String logicalName = null;
private String physicalName = null;
private String physicalPath = null;
private String title = null;
private String srs = null;
private String defaultStyle = null;
private double[] bounds = null;
/** Costruttore di default. */
public Pr... | .version 52 0
.class public super PropertyLayer
.super java/lang/Object
.field private logicalName Ljava/lang/String;
.field private physicalName Ljava/lang/String;
.field private physicalPath Ljava/lang/String;
.field private title Ljava/lang/String;
.field private srs Ljava/lang/String;
.field private default... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:25:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:25:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,815 |
Empleado | public class Empleado {
private static double stDouPagoPorHoraExtra;
private String strNif, strNombre;
private double douSueldoBase, douTipoIRPF;
private int intHorasExtras, intNumerosHijos;
private char chCasado;
}
| .version 52 0
.class public super Empleado
.super java/lang/Object
.field private static stDouPagoPorHoraExtra D
.field private strNif Ljava/lang/String;
.field private strNombre Ljava/lang/String;
.field private douSueldoBase D
.field private douTipoIRPF D
.field private intHorasExtras I
.field private intNum... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:42: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
* Sat Jul 02 08:42: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;
... | 147,816 |
InputSource | /*
InputSource.java
The bottom InputSource object for an IncludeFile is the input for the include file itself.
Each upper (potentially stacked) InputSource object is for an argument reference:
- include file argument reference or reference to scoped or global preprocessor definition
- the input stream pointer is a po... | .version 52 0
.class super InputSource
.super java/lang/Object
.field fileIndex I
.field sourceNum I
.field isMacroExpansion Z
.field isPrimaryInput Z
.field nextCol I
.field nextLine I
.field private theInput Ljava/io/BufferedReader;
.method <init> : (ILjava/io/BufferedReader;)V
.code stack 2 locals 3 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:05:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedReader;
import java.io.StringReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:05: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;
... | 147,817 |
NegocioException | public class NegocioException extends Exception {
private static final long serialVersionUID = 3287352965771999685L;
public NegocioException() {
super();
}
public NegocioException(Throwable t) {
super(t);
}
public NegocioException(String message, Throwable t) {
super(message, t);
}
publ... | .version 52 0
.class public super NegocioException
.super java/lang/Exception
.field private static final serialVersionUID J = 3287352965771999685L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:21: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 12:21: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;
... | 147,818 |
GetNumberOfKTest | public class GetNumberOfKTest {
public static int getNumberOfK(int[] numbers, int k) {
if (numbers == null || numbers.length <= 0) {
return 0;
}
int first = getFirstK(numbers, k, 0, numbers.length - 1);
int last = getLastK(numbers, k, 0, numbers.length - 1);
if (first > -1 && last > -1) ... | .version 52 0
.class public super GetNumberOfKTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:39: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
* Fri Jul 01 19:39: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;
... | 147,819 |
LangConsts | public class LangConsts {
public static final String descriptorName = "langDescriptor";
public static final String searchDescriptor = "langSearchDescriptor";
// field contsts
public static final String k_id = "id";
public static final String k_isoName = "isoName";
public static String k_id() {
return... | .version 52 0
.class public super LangConsts
.super java/lang/Object
.field public static final descriptorName Ljava/lang/String; = 'langDescriptor'
.field public static final searchDescriptor Ljava/lang/String; = 'langSearchDescriptor'
.field public static final k_id Ljava/lang/String; = 'id'
.field public stati... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:19: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 11:19: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;
... | 147,820 |
HostStat | /*
* 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 ... | .version 52 0
.class public super HostStat
.super java/lang/Object
.field public final endpoint Ljava/net/InetAddress;
.field public final resolveIp Z
.field public final owns Ljava/lang/Float;
.field public final token Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/net/InetAddress;ZLjava/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:19:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:19: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;
... | 147,821 |
PartKey | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
import java.io.Serializable;
/**
* A PartKey serves as the key in the key/data pair for a part entity.
*
* <p>In this sample, PartKey is used both as the sto... | .version 52 0
.class public super PartKey
.super java/lang/Object
.implements java/io/Serializable
.field private number 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: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:11:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:11: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;
... | 147,822 |
titanium | // This file is automatically generated.
/*
* Motorola Glam XT800
*
* DEVICE: titanium
* MODEL: XT800
*/
final class titanium {
public static final String DATA = "Motorola|Glam XT800|";
}
| .version 52 0
.class final super titanium
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'Motorola|Glam XT800|'
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:58: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 08:58: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;
... | 147,823 |
Articulo | public class Articulo {
private int codigo;
private String descripcion;
private double importe;
public Articulo(int codigo, String descripcion, double importe) {
super();
this.codigo = codigo;
this.descripcion = descripcion;
this.importe = importe;
}
public int getCodigo() {
return co... | .version 52 0
.class public super Articulo
.super java/lang/Object
.field private codigo I
.field private descripcion Ljava/lang/String;
.field private importe D
.method public <init> : (ILjava/lang/String;D)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:37: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
* Sat Jul 02 14:37: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;
... | 147,824 |
Smaz | /*
* Copyright 2019 Andrey Novikov
*
* Derived from Python port by Max Smith
* Original Smaz by Salvatore Sanfilippo
*
* BSD license per original C implementation at https://github.com/antirez/smaz
*
*/
public class Smaz {
private static final String[] DECODE = {
"+",
"the",
"e",
"t",
"a"... | .version 52 0
.class public super Smaz
.super java/lang/Object
.field private static final DECODE [Ljava/lang/String;
.field public static final WEBSITE_DECODE [Ljava/lang/String;
.field public static final OPENING_HOURS_DECODE [Ljava/lang/String;
.field public static final PHONE_DECODE [Ljava/lang/String;
.met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:25:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:25: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;
... | 147,825 |
GroupAnagrams | import java.util.*;
/**
* Created by Vaidehi Murarka on 12/13/16.
*
* <p>Group Anagrams Complexity: O(m*n)
*
* <p>http://www.programcreek.com/2014/04/leetcode-anagrams-java/
*/
public class GroupAnagrams {
public List<List<String>> groupAnagrams(List<String> words) {
Map<String, List<String>> stringEncodi... | .version 52 0
.class public super GroupAnagrams
.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 14
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:08:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import java.util.NoSuchElementException;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:08: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;
... | 147,826 |
Delay | public class Delay {
private int delay;
private int interval;
public Delay(int delay, int interval) {
this.delay = delay;
this.interval = interval;
}
public int getDelay() {
return delay;
}
public int getInterval() {
return interval;
}
}
| .version 52 0
.class public super Delay
.super java/lang/Object
.field private delay I
.field private interval I
.method public <init> : (II)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 Field Delay dela... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:22: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
* Sun Jul 03 20:22: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;
... | 147,827 |
MathTool | public class MathTool {}
| .version 52 0
.class public super MathTool
.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
* Mon Jul 04 00:11:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:11: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;
... | 147,828 |
URLUtils | /*******************************************************************************
* Copyright (c) 2019 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | .version 52 0
.class public super URLUtils
.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 code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:54:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:54:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,829 |
CacheConstants | public class CacheConstants {
public static final String DEVICE_CREDENTIALS_CACHE = "deviceCredentials";
public static final String ASSET_CREDENTIALS_CACHE = "assetCredentials";
}
| .version 52 0
.class public super CacheConstants
.super java/lang/Object
.field public static final DEVICE_CREDENTIALS_CACHE Ljava/lang/String; = 'deviceCredentials'
.field public static final ASSET_CREDENTIALS_CACHE Ljava/lang/String; = 'assetCredentials'
.method public <init> : ()V
.code stack 1 locals 1
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:22:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:22: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;
... | 147,830 |
Solution | /* Как захватить мир
Ввести с клавиатуры число и имя, вывести на экран строку:
«имя» захватит мир через «число» лет. Му-ха-ха!
Пример: Вася захватит мир через 8 лет. Му-ха-ха!
Последовательность вводимых данных имеет большое значение.
*/
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class S... | .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 14
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:21:20 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.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:21:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,831 |
Card | /*
* @author Quan Q. Phan
* @date 05/25/2017
* @since 1.0
*/
import java.io.File;
public class Card {
private String rank = "";
private String suit = "";
private int orderInHand = 0; // base 1
private File image = null;
private int value = 0;
public Card(String r, String s) {
this.rank = r;
... | .version 52 0
.class public super Card
.super java/lang/Object
.field private rank Ljava/lang/String;
.field private suit Ljava/lang/String;
.field private orderInHand I
.field private image Ljava/io/File;
.field private value I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 4... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:42:35 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.testdata.EvoSuiteFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:42: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;
... | 147,832 |
BooleanVariableAspectBooleanVariableAspectProperties | @SuppressWarnings("all")
public class BooleanVariableAspectBooleanVariableAspectProperties {}
| .version 52 0
.class public super BooleanVariableAspectBooleanVariableAspectProperties
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:16:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:16: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;
... | 147,833 |
EntityAlreadyExistsException | public class EntityAlreadyExistsException extends Exception {
public EntityAlreadyExistsException() {
super();
}
public EntityAlreadyExistsException(String message) {
super(message);
}
public EntityAlreadyExistsException(Throwable cause) {
super(cause);
}
public EntityAlreadyExistsExceptio... | .version 52 0
.class public super EntityAlreadyExistsException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 6
L4 7
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:46:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:46: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;
... | 147,834 |
AuthorizationExcepcion | public class AuthorizationExcepcion extends Exception {
private static final long serialVersionUID = 1;
private String codigoDeError;
/** Constructor sin Argumentos */
public AuthorizationExcepcion() {
super();
}
/**
* Contructor con el Mensaje de Error
*
* @param message Mensaje de Error
... | .version 52 0
.class public super AuthorizationExcepcion
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.field private codigoDeError Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:41:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:41: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;
... | 147,835 |
DepartmentSyncRequest | /** Created by antosikj (Jakub Antosik) on 05/02/16. */
public class DepartmentSyncRequest {
public String dummy;
public String getDummy() {
return dummy;
}
public void setDummy(String dummy) {
this.dummy = dummy;
}
}
| .version 52 0
.class public super DepartmentSyncRequest
.super java/lang/Object
.field public dummy Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:40:37 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:40:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,836 |
CompiledExpressionTest | public class CompiledExpressionTest {}
| .version 52 0
.class public super CompiledExpressionTest
.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
* Mon Jul 04 03:39: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
* Mon Jul 04 03:39: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;
... | 147,837 |
CacheSystemException | public class CacheSystemException extends Exception {
private static final long serialVersionUID = 8994433942652287047L;
public CacheSystemException(String msg) {
super(msg);
}
public CacheSystemException(String msg, Throwable cause) {
super(msg, cause);
}
}
| .version 52 0
.class public super CacheSystemException
.super java/lang/Exception
.field private static final serialVersionUID J = 8994433942652287047L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:16: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
* Mon Jul 04 14:16: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;
... | 147,838 |
FormGenerationUtils | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public super FormGenerationUtils
.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 25
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:54:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:54: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;
... | 147,839 |
AdminBean | public class AdminBean {
private String admin_username, admin_password;
public String getAdmin_name() {
return admin_username;
}
public void setAdmin_name(String admin_username) {
this.admin_username = admin_username;
}
public String getAdmin_password() {
return admin_password;
}
public... | .version 52 0
.class public super AdminBean
.super java/lang/Object
.field private admin_username Ljava/lang/String;
.field private admin_password 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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:42:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:42:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,840 |
ShapeCollectionPathIterator | /*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 Vivid Solutions
*
* This library is free software; you can redistribute it and/or
* modify it u... | .version 52 0
.class public super ShapeCollectionPathIterator
.super java/lang/Object
.implements java/awt/geom/PathIterator
.field private shapeIterator Ljava/util/Iterator;
.field private currentPathIterator Ljava/awt/geom/PathIterator;
.field private affineTransform Ljava/awt/geom/AffineTransform;
.field priv... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:50:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.util.LinkedList;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:50: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;
... | 147,841 |
NVS | // ========================================================================
//
// File: $RCSfile$
// Version: $Revision$
// Modified: $Date$
//
// (c) Copyright 2006-2014 by Mentor Graphics Corp. All rights reserved.
//
// ========================================================================
// Licensed unde... | .version 52 0
.class public super NVS
.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 25
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:38:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:38:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,842 |
X14b | public class X14b {
/**
* Tests a new (<code>DiffNode</code>) code syntax
*
* @param kind of difference (defined in <code>Differencer</code>)
*/
public void foo() {}
}
| .version 52 0
.class public super X14b
.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 me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04: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
* Fri Jul 01 04: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;
... | 147,843 |
Calculator | public final class Calculator {
public final double add(final double first, final double second) {
return first + second;
}
public final double subtract(final double first, final double second) {
return first - second;
}
public final double div(final double first, final double second) {
return ... | .version 52 0
.class public final super Calculator
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:15:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:15: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;
... | 147,844 |
ThirtyEight | /**
* Prompt: Take the number 192 and multiply it by each of 1, 2, and 3: 192 × 1 = 192 192 × 2 = 384
* 192 × 3 = 576
*
* <p>By concatenating each product we get the 1 to 9 pandigital, 192384576. We will call 192384576
* the concatenated product of 192 and (1,2,3)
*
* <p>The same can be achieved by starting with... | .version 52 0
.class public super ThirtyEight
.super java/lang/Object
.field private static pandigit [Ljava/lang/Integer;
.field private static directions [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
* Sun Jul 03 21:28:19 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:28: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;
... | 147,845 |
RateLimitException | /** RateLimitException - An exception for gateway rate limits. */
public class RateLimitException extends RuntimeException {
public RateLimitException(String message) {
super(message);
}
}
| .version 52 0
.class public super RateLimitException
.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 00:20:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:20:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,846 |
BinarySearchRotatedIterative | /*Copyright (c) Dec 21, 2014 CareerMonk Publications and others.
* E-Mail : info@careermonk.com
* Creation Date : 2015-01-10 06:15:46
* Last modification : 2006-05-31
by : Narasimha Karumanchi
* Book Title : Data Structures And Algorithms Made In Java
* Warranty : This software ... | .version 52 0
.class public super BinarySearchRotatedIterative
.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 linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:19:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:19:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,847 |
TQPath | /** Helper for adding a path prefix to a property. */
public class TQPath {
/** Return the full path by adding the prefix to the property name (null safe). */
public static String add(String prefix, String name) {
return (prefix == null) ? name : prefix + "." + name;
}
}
| .version 52 0
.class public super TQPath
.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
* Fri Jul 01 08:46: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 08:46: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;
... | 147,848 |
DaemonThreadFactory | import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
/**
* ThreadFactory to create daemon threads. Uses the factory given by {@link
* Executors#defaultThreadFactory()} to create the threads, then makes them daemons.
*/
class DaemonThread... | .version 52 0
.class super DaemonThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.field final name Ljava/lang/String;
.field final group Ljava/lang/ThreadGroup;
.field final threadNumber Ljava/util/concurrent/atomic/AtomicInteger;
.method public <init> : ()V
.code stack... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:10:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:10: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;
... | 147,849 |
EnvSettings | /**
* BlueCove - Java library for Bluetooth Copyright (C) 2006-2008 Vlad Skarzhevskyy
*
* <p>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 licens... | .version 52 0
.class public super abstract EnvSettings
.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 28
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:32:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:32: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;
... | 147,850 |
TabLoadStatus | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is autogenerated by
// build/android/gyp/java_cpp_enum.py
// From
// browser/android/tab_android.h
public class TabLoadStatus {
pu... | .version 52 0
.class public super TabLoadStatus
.super java/lang/Object
.field public static final PAGE_LOAD_FAILED I = 0
.field public static final DEFAULT_PAGE_LOAD I = 1
.field public static final PARTIAL_PRERENDERED_PAGE_LOAD I = 2
.field public static final FULL_PRERENDERED_PAGE_LOAD I = 3
.method public <... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:59:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:59:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,851 |
VCenterInventory | public class VCenterInventory {
public java.lang.String uuid;
public void setUuid(java.lang.String uuid) {
this.uuid = uuid;
}
public java.lang.String getUuid() {
return this.uuid;
}
public java.lang.String name;
public void setName(java.lang.String name) {
this.name = name;
}
public... | .version 52 0
.class public super VCenterInventory
.super java/lang/Object
.field public uuid Ljava/lang/String;
.field public name Ljava/lang/String;
.field public description Ljava/lang/String;
.field public domainName Ljava/lang/String;
.field public port Ljava/lang/Integer;
.field public userName Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:17:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Timestamp;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:17:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,852 |
OperacaoLog | /*
The MIT License (MIT)
Copyright (c) 2008 Kleber Maia de Andrade
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | .version 52 0
.class public super OperacaoLog
.super java/lang/Object
.field public static final 'INSERÇÃO' I = 0
.field public static final 'ATUALIZAÇÃO' I = 1
.field public static final 'DELEÇÃO' I = 2
.field public static final TODOS I = 3
.field public static final LOOKUP_LIST_FOR_FIELD [Ljava/lang/String;
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:04: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
* Sun Jul 03 18:04:01 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... | 147,853 |
ErrorVO | import java.io.Serializable;
import java.time.LocalDateTime;
/** Created by sarthakm on 11/16/16. */
public class ErrorVO implements Serializable {
private String errorMessage;
private LocalDateTime errorTime;
public ErrorVO(String message) {
this.errorMessage = message;
this.errorTime = LocalDateTime.... | .version 52 0
.class public super ErrorVO
.super java/lang/Object
.implements java/io/Serializable
.field private errorMessage Ljava/lang/String;
.field private errorTime Ljava/time/LocalDateTime;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:34:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.LocalDateTime;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRun... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:34: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;
... | 147,854 |
MenuPrincipal | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author antonio.ncgjunior
*/
public class MenuPrincipal extends javax.swing.JFrame {
/** Creates new form MenuPrincipal */
... | .version 52 0
.class public super MenuPrincipal
.super javax/swing/JFrame
.field private BotaoAlterar Ljavax/swing/JButton;
.field private BotaoCads Ljavax/swing/JButton;
.field private BotaoConst Ljavax/swing/JButton;
.field private jLabel1 Ljavax/swing/JLabel;
.field private jPanel1 Ljavax/swing/JPanel;
.met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:48:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:48:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,855 |
Buffer | import java.util.LinkedHashSet;
public class Buffer implements Comparable<Buffer> {
public String num; // the buffer number
public LinkedHashSet<String> actions = new LinkedHashSet<String>(); // how to populate the buffer
public LinkedHashSet<String> tag =
new LinkedHashSet<
String>(); // this is... | .version 52 0
.class public super Buffer
.super java/lang/Object
.implements java/lang/Comparable
.field public num Ljava/lang/String;
.field public actions Ljava/util/LinkedHashSet; .fieldattributes
.signature Ljava/util/LinkedHashSet<Ljava/lang/String;>;
.end fieldattributes
.field public tag Ljava/util/L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:32:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import 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:32:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,856 |
Advent090 | import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/** User: david Date: 23.12.2016 Time: 12:53 */
public class Advent090 {
static Pattern p = Pattern.compile("(.*?)(\\((\\d+)x(\\d+)\\))");
public static void main(String[] args) throws Exceptio... | .version 52 0
.class public super Advent090
.super java/lang/Object
.field static p Ljava/util/regex/Pattern;
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:28:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.regex.Pattern;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameter... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:28: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;
... | 147,857 |
SIPTransactionHelper | /*******************************************************************************
* Copyright (c) 2008, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | .version 52 0
.class public super SIPTransactionHelper
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:34:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:34: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;
... | 147,858 |
Test | class Test {
void test(int a, int b) {
int i = a + b;
System.out.println(i);
int i1 = a - b;
System.out.println(i1);
}
}
| .version 52 0
.class super Test
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:07:39 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:07:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,859 |
TypesIdNameMapper | /**
* Copyright (C) 2015 Jeeva Kandasamy (jkandasa@gmail.com)
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required... | .version 52 0
.class public super TypesIdNameMapper
.super java/lang/Object
.field private id I
.field private displayName Ljava/lang/String;
.field private subId Ljava/lang/Integer;
.field private ticked Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method ja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:29: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
* Fri Jul 01 21:29:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,860 |
URLBuilder | /*
* This file is part of Subsonic.
*
* Subsonic 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 version.
*
* Subsonic is distribut... | .version 52 0
.class public super URLBuilder
.super java/lang/Object
.field public static HTTP Ljava/lang/String;
.field public static HTTPS Ljava/lang/String;
.field private protocol Ljava/lang/String;
.field private host Ljava/lang/String;
.field private port I
.field private file Ljava/lang/String;
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:31:36 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.net.MalformedURLException;
import java.net.URL;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:31: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;
... | 147,861 |
Node | import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;
class Node {
Node left, right;
int data;
Node(int data) {
this.data = data;
left = right = null;
}
}
class BSTLevelOrder {
public static void levelOrder(Node root) {
Queue<Node> queue = new LinkedList<>();
queue... | .version 52 0
.class super Node
.super java/lang/Object
.field left LNode;
.field right LNode;
.field data I
.method <init> : (I)V
.code stack 4 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Node data I
L9: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:48: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
* Fri Jul 01 16:48: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;
... | 147,862 |
EjbJarInWarNoAnnotationsApp | /*******************************************************************************
* Copyright (c) 2022 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | .version 52 0
.class public super EjbJarInWarNoAnnotationsApp
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:53: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 16:53: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;
... | 147,863 |
IntCache | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
import java.util.ArrayList;
import java.util.List;
public class IntCache {
private static int field_35273_a = 256;
private static List f... | .version 52 0
.class public super IntCache
.super java/lang/Object
.field private static field_35273_a I
.field private static field_35271_b Ljava/util/List;
.field private static field_35272_c Ljava/util/List;
.field private static field_35269_d Ljava/util/List;
.field private static field_35270_e Ljava/util/Li... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:16:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:16: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;
... | 147,864 |
ExerciseThree | import java.util.HashSet;
import java.util.Set;
/**
* Exercise 3.
*
* <p>An anagram is a type of word play, the result of rearranging the letters of a word or phrase
* to produce a new word or phrase, using all the original letters exactly once. In other words,
* “cat” and “act” would be considered anagrams since... | .version 52 0
.class public super ExerciseThree
.super java/lang/Object
.field private static final wordArray [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:33:03 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 11:33: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;
... | 147,865 |
CommonInterface | public class CommonInterface {
public static final String URI_HOME_PAGE =
"http://sns.maimaicha.com/api?apikey=b4f4ee31a8b9acc866ef2afb754c33e6&format=json&method=news.getSlideshow";
public static final String URI_HEAD_LINE =
"http://sns.maimaicha.com/api?apikey=b4f4ee31a8b9acc866ef2afb754c33e6&format=j... | .version 52 0
.class public super CommonInterface
.super java/lang/Object
.field public static final URI_HOME_PAGE Ljava/lang/String; = 'http://sns.maimaicha.com/api?apikey=b4f4ee31a8b9acc866ef2afb754c33e6&format=json&method=news.getSlideshow'
.field public static final URI_HEAD_LINE Ljava/lang/String; = 'http://sn... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:04: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 22:04: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;
... | 147,866 |
BuildVars | /*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2015.
*/
public class BuildVars {
public static boolean DEBUG_VERSION = false;
publ... | .version 52 0
.class public super BuildVars
.super java/lang/Object
.field public static DEBUG_VERSION Z
.field public static BUILD_VERSION I
.field public static APP_ID I
.field public static APP_HASH Ljava/lang/String;
.field public static HOCKEY_APP_HASH Ljava/lang/String;
.field public static GCM_SENDER_ID ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:25: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
* Fri Jul 01 05:25: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;
... | 147,867 |
TmStringUtils | import java.text.DecimalFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* <B>提供如下方法: </B><br>
* formatDateToString 格式化日期为字符串 <br>
* parseStringToDate 解析字符串为日期型 <br>
* formatDoubleToString 格式化Double型数据为字符串 <br>
* isEmpty 是否为空字符串 <br>
* isNotEmpty 是否为非空字符串 <br... | .version 52 0
.class public super TmStringUtils
.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 27
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:07:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.text.ParseException;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.Dat... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:07:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,868 |
ChatFloodControl | import java.util.HashMap;
import java.util.Map;
/**
* Simple flood control, only allow so many events per window of time. During each rolling time
* window, anyone that sends more than "N" messages will be filtered until the next time window
* begins.
*/
public class ChatFloodControl {
private static final int O... | .version 52 0
.class public super ChatFloodControl
.super java/lang/Object
.field private static final ONE_MINUTE I = 60000
.field static final EVENTS_PER_WINDOW I = 20
.field static final WINDOW I = 60000
.field private final lock Ljava/lang/Object;
.field private final messageCount Ljava/util/Map; .fieldattrib... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:40: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 17:40: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;
... | 147,869 |
TwoSumII | /*
Leetcode Problem 167: Two Sum II - Input array is sorted
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/
Given an array of integers that is already sorted in ascending order,
find two numbers such that they add up to a specific target number.
The function twoSum should return indices o... | .version 52 0
.class public super TwoSumII
.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 23
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:58: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
* Mon Jul 04 07:58: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;
... | 147,870 |
TimeoutCallback | public abstract class TimeoutCallback implements Runnable {
public abstract void onTimeout();
@Override
public void run() {
onTimeout();
}
}
| .version 52 0
.class public super abstract TimeoutCallback
.super java/lang/Object
.implements java/lang/Runnable
.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
* Fri Jul 01 20:25:37 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:25:37 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... | 147,871 |
Projectile | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author bjornenalfa
*/
public class Projectile {}
| .version 52 0
.class public super Projectile
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:02:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:02: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;
... | 147,872 |
UniqueIdGenerator | import java.util.UUID;
import java.util.concurrent.atomic.AtomicLong;
public class UniqueIdGenerator {
// TODO rename getNewId()
public static String getId() {
String uniqueID = UUID.randomUUID().toString();
uniqueID = uniqueID.replaceAll("-", "");
// ADD UNIQUE SERVER COMPONENT
uniqueID = "l1s1" +... | .version 52 0
.class public super UniqueIdGenerator
.super java/lang/Object
.field private id Ljava/util/concurrent/atomic/AtomicLong;
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/concurren... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:56:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:56: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;
... | 147,873 |
VecUtils | public class VecUtils {
public static double len(double... xs) {
double len = 0;
for (double x : xs) {
len += (x * x);
}
return Math.sqrt(len);
}
}
| .version 52 0
.class public super VecUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:12: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 20:12: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;
... | 147,874 |
DSAValidationParameters | public class DSAValidationParameters {
private byte[] seed;
private int counter;
public DSAValidationParameters(byte[] seed, int counter) {
this.seed = seed;
this.counter = counter;
}
public int getCounter() {
return counter;
}
public byte[] getSeed() {
return seed;
}
public boolea... | .version 52 0
.class public super DSAValidationParameters
.super java/lang/Object
.field private seed [B
.field private counter I
.method public <init> : ([BI)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:16:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:16: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;
... | 147,875 |
DimensionBuffer | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless... | .version 52 0
.class public super DimensionBuffer
.super java/lang/Object
.field buffer Ljava/nio/IntBuffer;
.field private numDimensions I
.method public <init> : (I)V
.code stack 4 locals 2
L0: aload_0
L1: iload_1
L2: iload_1
L3: iconst_4
L4: imul
L5: newarray byte
L7: in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:46:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.IntBuffer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:46: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;
... | 147,876 |
Constants | /*
* Copyright (C) 2010 Moduad Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final SHARED_PREFERENCE_NAME Ljava/lang/String; = 'client_preferences'
.field public static final CALLBACK_ACTIVITY_PACKAGE_NAME Ljava/lang/String; = 'CALLBACK_ACTIVITY_PACKAGE_NAME'
.field public static final CALLBACK_ACTIVIT... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:33:37 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:33:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,877 |
SmokeStruct | import java.io.Serializable;
public class SmokeStruct implements Serializable {
private static final long serialVersionUID = 1L;
private double smokeValue;
public double getsmokeValue() {
return smokeValue;
}
private String unitOfMeasurement;
public String getunitOfMeasurement() {
return unitOf... | .version 52 0
.class public super SmokeStruct
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private smokeValue D
.field private unitOfMeasurement Ljava/lang/String;
.method public getsmokeValue : ()D
.code stack 2 locals 1
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:47:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:47: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;
... | 147,878 |
SessionContext | /*
Name:
- SessionContext
Description:
-
Requires:
-
Provides:
-
Part of: ProcessPuzzle Framework, Domain and Business Model Ready Architecture. Provides content, workflow and social networking functionality.
http://www.processpuzzle.com
ProcessPuzzle - Content and Workflow Management Integration B... | .version 52 0
.class public super abstract SessionContext
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 34
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:44: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 14:44:35 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... | 147,879 |
Inner | public class Inner {}
| .version 52 0
.class public super Inner
.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 1
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:32:59 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:32: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;
... | 147,880 |
Timer | public class Timer {
long beginTime;
long endTime;
public Timer() {
beginTime = System.currentTimeMillis();
}
public void begin() {
beginTime = System.currentTimeMillis();
}
public void end() {
endTime = System.currentTimeMillis();
}
public long use() {
return endTime - beginTime;
... | .version 52 0
.class public super Timer
.super java/lang/Object
.field beginTime J
.field endTime 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: invokestatic Method java/lang/System currentTimeMillis ()... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:43: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
* Sat Jul 02 18:43: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;
... | 147,881 |
Test | /*
* Copyright (C) 2015 Intel Corporation
*
* 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... | .version 52 0
.class super Test
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end code
.end method
.metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:27:35 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:27: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;
... | 147,882 |
Hellos | class Hellos {
private static final String[] TH = {
"th", "st", "nd", "rd", "th",
"th", "th", "th", "th", "th"
};
public static void main(String... args) {
int n = Integer.parseInt(args[0]);
for (int i = 1; i <= n; ++i)
// Before one says this defeat the purpose of the section,
// the... | .version 52 0
.class super Hellos
.super java/lang/Object
.field private static final TH [Ljava/lang/String;
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:54:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:54: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;
... | 147,883 |
DateService | import java.text.SimpleDateFormat;
import java.util.Date;
public class DateService {
public static transient SimpleDateFormat dateFormat = new SimpleDateFormat("MMM. dd, yyyy");
public static boolean isSet(Date d) {
return (d.compareTo(new Date(0)) > 0);
}
public static String getDateAsString(Date d) {
... | .version 52 0
.class public super DateService
.super java/lang/Object
.field public static transient dateFormat Ljava/text/SimpleDateFormat;
.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
* Fri Jul 01 15:42:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.text.SimpleDateFormat;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.text.Moc... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:42: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;
... | 147,884 |
FindKthSmallestElement | import java.util.Arrays;
/** Created by Maks on 5/9/2017. http://www.techiedelight.com/find-kth-smallest-element-array/ */
public class FindKthSmallestElement {
/*
1. sort array using efficient algorithm
2. get k smallest element from array
*/
public int simpleSolution(Integer[] arr, int k) {
Arrays.so... | .version 52 0
.class public super FindKthSmallestElement
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:56:43 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 07:56: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;
... | 147,885 |
PowerSet | /**
* This code snippet shows how to generate the powerset of a set which is the set of all subsets of
* a set. There are two common ways of doing this which are to use the binary representation of
* numbers on a computer or to do it recursively. Both methods are shown here, pick your flavor!
*
* <p>Time Complexit... | .version 52 0
.class public super PowerSet
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:37:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Arrays;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:37:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,886 |
NewGameResult | /**
* Copyright (c) 2014 Jordi López <@wuyingren>
*
* <p>MIT License:
*
* <p>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 ... | .version 52 0
.class public super NewGameResult
.super java/lang/Object
.field private players I
.field private scenario I
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
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 09:22: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 09:22: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;
... | 147,887 |
RequestBean | /** Created by Administrator on 2015/10/28. */
public class RequestBean {
private int page;
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public RequestBean(int page) {
this.page = page;
}
}
| .version 52 0
.class public super RequestBean
.super java/lang/Object
.field private page I
.method public getPage : ()I
.code stack 1 locals 1
L0: aload_0
L1: getfield Field RequestBean page I
L4: ireturn
L5:
.linenumbertable
L0 10
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:43: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
* Fri Jul 01 11:43: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;
... | 147,888 |
Lookup | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | .version 52 0
.class public super Lookup
.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 29
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:17:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.Optional;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.R... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:17: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;
... | 147,889 |
DecompressibleInputStream | import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectStreamClass;
public class DecompressibleInputStream extends ObjectInputStream {
public DecompressibleInputStream(InputStream in) throws IOException {
super(in);
}
protected ObjectStreamClass readCl... | .version 52 0
.class public super DecompressibleInputStream
.super java/io/ObjectInputStream
.method public <init> : (Ljava/io/InputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/ObjectInputStream <init> (Ljava/io/InputStream;)V
L5: return
L6: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:06:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.InputStream;
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
* Mon Jul 04 03:06: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;
... | 147,890 |
DateUtil | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
/** Created by Administrator on 2016/3/18. */
public class DateUtil {
/** 日期格式yyyy-MM-dd字符串常量 */
public static final String DATE_FORMAT = "yyyy-MM-dd";
/** 日期格式yyyy-MM-... | .version 52 0
.class public super DateUtil
.super java/lang/Object
.field public static final DATE_FORMAT Ljava/lang/String; = 'yyyy-MM-dd'
.field public static final DATETIME_FORMAT Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field public static final MONTH_FORMAT Ljava/lang/String; = 'yyyy-MM'
.field public sta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:59:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.Clock;
import java.time.Duration;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:59: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;
... | 147,891 |
ParameterScope | /**
* The ParameterScope defines where the associated Parameter is used. PreStartParameters will be
* exported with the key of their parameter type as an environment variable. This can be used for
* example for setting up things that need to be influenced before the jvm starts.
*
* <p>ModifyingPreStartParameters w... | .version 52 0
.class public super ParameterScope
.super java/lang/Object
.field private preStartName Ljava/lang/String;
.field private isModifyingPreStartParameter Z
.field private isGuiParameter Z
.field private isFileAccessParameter Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:24:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:24:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,892 |
SynccitRead | import java.util.ArrayList;
/** Created by carlo_000 on 2/16/2016. */
public class SynccitRead {
public static ArrayList<String> visitedIds = new ArrayList<>();
public static ArrayList<String> newVisited = new ArrayList<>();
}
| .version 52 0
.class public super SynccitRead
.super java/lang/Object
.field public static visitedIds Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/String;>;
.end fieldattributes
.field public static newVisited Ljava/util/ArrayList; .fieldattributes
.signature Ljava/ut... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:30:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:30: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;
... | 147,893 |
Titles | import java.io.Serializable;
public class Titles implements Serializable {
/** */
private static final long serialVersionUID = 3718706870072946424L;
private Integer t_id;
private String t_name;
public Integer getT_id() {
return t_id;
}
public void setT_id(Integer t_id) {
this.t_id = t_id;
}... | .version 52 0
.class public super Titles
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 3718706870072946424L
.field private t_id Ljava/lang/Integer;
.field private t_name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:57: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
* Sat Jul 02 10:57: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;
... | 147,894 |
Authentication | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | .version 52 0
.class public super Authentication
.super java/lang/Object
.field public static final AUTHENTICATION_USER_ID Ljava/lang/String; = 'authenticationUserId'
.field public static final AUTHENTICATION_TOKEN Ljava/lang/String; = 'authenticationToken'
.field public static final AUTHENTICATION_USERNAME Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:45:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:45:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,895 |
romanToInteger | import java.util.HashMap;
// todo
public class romanToInteger {
public int romanToInt(String s) {
if (s == null || s.length() == 0) return 0;
int len = s.length();
HashMap<Character, Integer> map = new HashMap<Character, Integer>();
map.put('I', 1);
map.put('V', 5);
map.put('X', 10);
map.... | .version 52 0
.class public super romanToInteger
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:11:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:11: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;
... | 147,896 |
Utils | import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
/** Created by Administrator on 2017/5/22. */
public class Utils {
public static String getCurrentTime(String format) {
Date date = new Date();
SimpleDateFormat sdf = new SimpleDateFormat(format, Locale.getDefault());
Stri... | .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 10
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:08:37 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:08:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,897 |
ObjectMapperString | /**
* 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 ObjectMapperString
.super java/lang/Object
.field public string 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: putfie... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:02:37 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 08:02:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,898 |
Room | import java.awt.Point;
/**
* @author sam
*/
public class Room {
/** */
private int[] connectedRoom;
private String name;
private int location; // room location relative to the whole board
private Point position = new Point(); // where player name should draw.
/**
* class constructor
*
* @para... | .version 52 0
.class public super Room
.super java/lang/Object
.field private connectedRoom [I
.field private name Ljava/lang/String;
.field private location I
.field private position Ljava/awt/Point;
.method public <init> : ([ILjava/lang/String;III)V
.code stack 3 locals 6
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:33:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Point;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:33: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;
... | 147,899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.